diff options
author | Denys Vlasenko | 2009-06-07 16:02:00 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-07 16:02:00 +0200 |
commit | 8f24f9812df8dec34a991b2c572092639586f154 (patch) | |
tree | fcfc01da5aa08243cd1f0ea3bc2f95a8d3206ada /libbb/vfork_daemon_rexec.c | |
parent | d6b05eb9c27196ebe89b180d71ad86bf42e97002 (diff) | |
download | busybox-8f24f9812df8dec34a991b2c572092639586f154.zip busybox-8f24f9812df8dec34a991b2c572092639586f154.tar.gz |
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 f64239a..72edfc7 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) pid_t pid; /* Maybe we are already re-execed and come here again? */ if (re_execed) - return 0; /* child */ - + return 0; pid = vfork(); if (pid < 0) /* wtf? */ bb_perror_msg_and_die("vfork"); |