aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 12:34:18 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 12:34:18 +0100
commitefd0698f74caab0a0c8a51228b923ee142e8e278 (patch)
tree3faa66ef6d8b291b14eb1fa8d861490abfa15676 /libbb/appletlib.c
parent5d1c599d7611b6202190460ebc685e5fb1ae61ea (diff)
downloadbusybox-efd0698f74caab0a0c8a51228b923ee142e8e278.tar.gz
make --help return exitcode 0. Closes 5612
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 67df44690..c22686e55 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -750,7 +750,7 @@ void FAST_FUNC run_applet_no_and_exit(int applet_no, char **argv)
//TODO: just compare applet_no with APPLET_NO_test
if (!ENABLE_TEST || strcmp(applet_name, "test") != 0) {
/* If you want "foo --help" to return 0: */
- /*xfunc_error_retval = 0;*/
+ xfunc_error_retval = 0;
bb_show_usage();
}
}