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 --- runit/sv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runit/sv.c') diff --git a/runit/sv.c b/runit/sv.c index 20e86199a..e3b9a4e31 100644 --- a/runit/sv.c +++ b/runit/sv.c @@ -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) -- cgit v1.2.3