diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 23:32:37 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 23:32:37 +0000 |
commit | f1a7141cfcacf606ae321faa58c45617045460fe (patch) | |
tree | 6b2f3cabea3c78a1f13a1beb30074881f643707d /libbb | |
parent | 80d14beae9ebe64d3be1e6c2771f292977cf6d2c (diff) | |
download | busybox-f1a7141cfcacf606ae321faa58c45617045460fe.tar.gz |
random NOMMU fixes. compressed --help really does work for NOMMU! /me happy
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index 214b645c5..64952225d 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c @@ -158,12 +158,15 @@ int spawn_and_wait(char **argv) if (rc) goto w; /* child */ + xfunc_error_retval = EXIT_FAILURE; current_applet = a; run_current_applet_and_exit(argc, argv); #endif } rc = spawn(argv); +#ifndef BB_NOMMU w: +#endif return wait4pid(rc); #else /* !FEATURE_PREFER_APPLETS */ return wait4pid(spawn(argv)); |