aboutsummaryrefslogtreecommitdiff
path: root/libbb/vfork_daemon_rexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r--libbb/vfork_daemon_rexec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index 1adb5b3c4..c192829b5 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -68,7 +68,8 @@ pid_t FAST_FUNC xspawn(char **argv)
68 return pid; 68 return pid;
69} 69}
70 70
71#if ENABLE_FEATURE_PREFER_APPLETS 71#if ENABLE_FEATURE_PREFER_APPLETS \
72 || ENABLE_FEATURE_SH_NOFORK
72static jmp_buf die_jmp; 73static jmp_buf die_jmp;
73static void jump(void) 74static void jump(void)
74{ 75{
@@ -174,7 +175,7 @@ int FAST_FUNC run_nofork_applet(int applet_no, char **argv)
174 175
175 return rc & 0xff; /* don't confuse people with "exitcodes" >255 */ 176 return rc & 0xff; /* don't confuse people with "exitcodes" >255 */
176} 177}
177#endif /* FEATURE_PREFER_APPLETS */ 178#endif /* FEATURE_PREFER_APPLETS || FEATURE_SH_NOFORK */
178 179
179int FAST_FUNC spawn_and_wait(char **argv) 180int FAST_FUNC spawn_and_wait(char **argv)
180{ 181{