commit | 8f24f9812df8dec34a991b2c572092639586f154 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sun Jun 07 16:02:00 2009 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Jun 07 16:02:00 2009 +0200 |
tree | fcfc01da5aa08243cd1f0ea3bc2f95a8d3206ada | |
parent | d6b05eb9c27196ebe89b180d71ad86bf42e97002 [diff] [blame] |
stop using non-standard macro, use WEXITSTATUS instead Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 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");