From 8f24f9812df8dec34a991b2c572092639586f154 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 7 Jun 2009 16:02:00 +0200 Subject: stop using non-standard macro, use WEXITSTATUS instead Signed-off-by: Denys Vlasenko --- libbb/vfork_daemon_rexec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbb/vfork_daemon_rexec.c') 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) 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"); -- cgit v1.2.3