diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-07 16:02:00 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-07 16:02:00 +0200 |
commit | 8f24f9812df8dec34a991b2c572092639586f154 (patch) | |
tree | fcfc01da5aa08243cd1f0ea3bc2f95a8d3206ada /libbb/vfork_daemon_rexec.c | |
parent | d6b05eb9c27196ebe89b180d71ad86bf42e97002 (diff) | |
download | busybox-w32-8f24f9812df8dec34a991b2c572092639586f154.tar.gz busybox-w32-8f24f9812df8dec34a991b2c572092639586f154.tar.bz2 busybox-w32-8f24f9812df8dec34a991b2c572092639586f154.zip |
stop using non-standard macro, use WEXITSTATUS instead
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index f64239a96..72edfc70d 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c | |||
@@ -256,8 +256,7 @@ pid_t FAST_FUNC fork_or_rexec(char **argv) | |||
256 | pid_t pid; | 256 | pid_t pid; |
257 | /* Maybe we are already re-execed and come here again? */ | 257 | /* Maybe we are already re-execed and come here again? */ |
258 | if (re_execed) | 258 | if (re_execed) |
259 | return 0; /* child */ | 259 | return 0; |
260 | |||
261 | pid = vfork(); | 260 | pid = vfork(); |
262 | if (pid < 0) /* wtf? */ | 261 | if (pid < 0) /* wtf? */ |
263 | bb_perror_msg_and_die("vfork"); | 262 | bb_perror_msg_and_die("vfork"); |