stop using non-standard macro, use WEXITSTATUS instead

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-06-07 16:02:00 +02:00
parent d6b05eb9c2
commit 8f24f9812d
5 changed files with 7 additions and 11 deletions

View File

@@ -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");