summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorRob Landley2005-10-12 21:50:02 +0000
committerRob Landley2005-10-12 21:50:02 +0000
commit046d6e7a95fbc54248ec9f8251241902b4a730a9 (patch)
treeee36f33df62d2327015644e2ea6021bd69e45225 /applets
parente4164b56668bc46617e0ecca33c6f9268925a8e2 (diff)
downloadbusybox-046d6e7a95fbc54248ec9f8251241902b4a730a9.zip
busybox-046d6e7a95fbc54248ec9f8251241902b4a730a9.tar.gz
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 bf6b160..ceb0d55 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)