diff options
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index f488f8e0c..766a89e5f 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c | |||
@@ -70,7 +70,8 @@ pid_t FAST_FUNC xspawn(char **argv) | |||
70 | return pid; | 70 | return pid; |
71 | } | 71 | } |
72 | 72 | ||
73 | #if ENABLE_FEATURE_PREFER_APPLETS | 73 | #if ENABLE_FEATURE_PREFER_APPLETS \ |
74 | || ENABLE_FEATURE_SH_NOFORK | ||
74 | static jmp_buf die_jmp; | 75 | static jmp_buf die_jmp; |
75 | static void jump(void) | 76 | static void jump(void) |
76 | { | 77 | { |
@@ -176,7 +177,7 @@ int FAST_FUNC run_nofork_applet(int applet_no, char **argv) | |||
176 | 177 | ||
177 | return rc & 0xff; /* don't confuse people with "exitcodes" >255 */ | 178 | return rc & 0xff; /* don't confuse people with "exitcodes" >255 */ |
178 | } | 179 | } |
179 | #endif /* FEATURE_PREFER_APPLETS */ | 180 | #endif /* FEATURE_PREFER_APPLETS || FEATURE_SH_NOFORK */ |
180 | 181 | ||
181 | int FAST_FUNC spawn_and_wait(char **argv) | 182 | int FAST_FUNC spawn_and_wait(char **argv) |
182 | { | 183 | { |