stop using non-standard macro, use WEXITSTATUS instead
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -337,7 +337,7 @@ static int checkscript(void)
|
||||
bb_perror_msg(WARN"cannot %s child %s/check", "wait for", *service);
|
||||
return 0;
|
||||
}
|
||||
return !wait_exitcode(w);
|
||||
return WEXITSTATUS(w) == 0;
|
||||
}
|
||||
|
||||
static int check(const char *a)
|
||||
|
Reference in New Issue
Block a user