Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-10-13 01:50:02 +0400
committerRob Landley <rob@landley.net>2005-10-13 01:50:02 +0400
commit046d6e7a95fbc54248ec9f8251241902b4a730a9 (patch)
treeee36f33df62d2327015644e2ea6021bd69e45225 /applets
parente4164b56668bc46617e0ecca33c6f9268925a8e2 (diff)
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)