summaryrefslogtreecommitdiff
path: root/libbb/vfork_daemon_rexec.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-07 16:02:00 +0200
committerDenys Vlasenko2009-06-07 16:02:00 +0200
commit8f24f9812df8dec34a991b2c572092639586f154 (patch)
treefcfc01da5aa08243cd1f0ea3bc2f95a8d3206ada /libbb/vfork_daemon_rexec.c
parentd6b05eb9c27196ebe89b180d71ad86bf42e97002 (diff)
downloadbusybox-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.c3
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");