aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2005-10-12 21:50:02 +0000
committerGravatar Rob Landley <rob@landley.net>2005-10-12 21:50:02 +0000
commit046d6e7a95fbc54248ec9f8251241902b4a730a9 (patch)
treeee36f33df62d2327015644e2ea6021bd69e45225 /applets
parente4164b56668bc46617e0ecca33c6f9268925a8e2 (diff)
downloadbusybox-046d6e7a95fbc54248ec9f8251241902b4a730a9.tar.gz
busybox-046d6e7a95fbc54248ec9f8251241902b4a730a9.tar.bz2
show_usage should use bb_default_error_retval.
Diffstat (limited to 'applets')
-rw-r--r--applets/applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c
index bf6b16026..ceb0d5557 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -423,7 +423,7 @@ extern void bb_show_usage (void)
fprintf (stderr, format_string, bb_msg_full_version, applet_using->name,
usage_string);
- exit (EXIT_FAILURE);
+ exit (bb_default_error_retval);
}
static int applet_name_compare (const void *x, const void *y)