diff options
author | Denis Vlasenko | 2007-04-10 23:32:37 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-10 23:32:37 +0000 |
commit | f1a7141cfcacf606ae321faa58c45617045460fe (patch) | |
tree | 6b2f3cabea3c78a1f13a1beb30074881f643707d /libbb/vfork_daemon_rexec.c | |
parent | 80d14beae9ebe64d3be1e6c2771f292977cf6d2c (diff) | |
download | busybox-f1a7141cfcacf606ae321faa58c45617045460fe.zip busybox-f1a7141cfcacf606ae321faa58c45617045460fe.tar.gz |
random NOMMU fixes. compressed --help really does work for NOMMU! /me happy
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-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 214b645..6495222 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)); |