diff options
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index 98339c930..1567d89be 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c | |||
@@ -98,11 +98,6 @@ int wait4pid(int pid) | |||
98 | if (WIFSIGNALED(status)) | 98 | if (WIFSIGNALED(status)) |
99 | return WTERMSIG(status) + 1000; | 99 | return WTERMSIG(status) + 1000; |
100 | return 0; | 100 | return 0; |
101 | if (WIFEXITED(status)) | ||
102 | return WEXITSTATUS(status); | ||
103 | if (WIFSIGNALED(status)) | ||
104 | return WTERMSIG(status) + 1000; | ||
105 | return 0; | ||
106 | } | 101 | } |
107 | 102 | ||
108 | #if ENABLE_FEATURE_PREFER_APPLETS | 103 | #if ENABLE_FEATURE_PREFER_APPLETS |