summaryrefslogtreecommitdiffhomepage
path: root/applets/applets.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-09 21:35:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-09 21:35:07 +0000
commit3f3aa2a57dc648ade9083f3b3ad83cce8206b912 (patch)
treed5c648f583bb2edef25f05c2bed303df3d1a61f6 /applets/applets.c
parentcd7001f7055c3fc2d6298ab9e3befe91e951c652 (diff)
make xfunctions optionally longjump instead of exit.
use it for making NOFORK more practical. touch: make it a NOFORK applet
Diffstat (limited to 'applets/applets.c')
-rw-r--r--applets/applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c
index db4ee482e..9218b40e4 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -462,7 +462,7 @@ void bb_show_usage(void)
applet_name, usage_string);
}
- exit(xfunc_error_retval);
+ sleep_and_die();
}