diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-17 14:28:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-17 14:28:53 +0000 |
commit | cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4 (patch) | |
tree | 9757477193c1b8f3be9a772cabfb1ef92639240e /libbb/vfork_daemon_rexec.c | |
parent | ffae845cfd0a0b9872827d806984841d4cfee104 (diff) | |
download | busybox-w32-cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4.tar.gz busybox-w32-cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4.tar.bz2 busybox-w32-cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4.zip |
libbb: introduce and use xrename and rename_or_warn.
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 |