diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-07 16:02:00 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-07 16:02:00 +0200 |
commit | 8f24f9812df8dec34a991b2c572092639586f154 (patch) | |
tree | fcfc01da5aa08243cd1f0ea3bc2f95a8d3206ada /runit/sv.c | |
parent | d6b05eb9c27196ebe89b180d71ad86bf42e97002 (diff) |
stop using non-standard macro, use WEXITSTATUS instead
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/sv.c')
-rw-r--r-- | runit/sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |