diff options
author | Rob Landley <rob@landley.net> | 2005-10-12 21:50:02 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-10-12 21:50:02 +0000 |
commit | 046d6e7a95fbc54248ec9f8251241902b4a730a9 (patch) | |
tree | ee36f33df62d2327015644e2ea6021bd69e45225 | |
parent | e4164b56668bc46617e0ecca33c6f9268925a8e2 (diff) | |
download | busybox-w32-046d6e7a95fbc54248ec9f8251241902b4a730a9.tar.gz busybox-w32-046d6e7a95fbc54248ec9f8251241902b4a730a9.tar.bz2 busybox-w32-046d6e7a95fbc54248ec9f8251241902b4a730a9.zip |
show_usage should use bb_default_error_retval.
-rw-r--r-- | applets/applets.c | 2 |
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) | |||
423 | fprintf (stderr, format_string, bb_msg_full_version, applet_using->name, | 423 | fprintf (stderr, format_string, bb_msg_full_version, applet_using->name, |
424 | usage_string); | 424 | usage_string); |
425 | 425 | ||
426 | exit (EXIT_FAILURE); | 426 | exit (bb_default_error_retval); |
427 | } | 427 | } |
428 | 428 | ||
429 | static int applet_name_compare (const void *x, const void *y) | 429 | static int applet_name_compare (const void *x, const void *y) |