diff options
author | Denys Vlasenko | 2009-06-07 16:02:00 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-07 16:02:00 +0200 |
commit | 8f24f9812df8dec34a991b2c572092639586f154 (patch) | |
tree | fcfc01da5aa08243cd1f0ea3bc2f95a8d3206ada /runit/sv.c | |
parent | d6b05eb9c27196ebe89b180d71ad86bf42e97002 (diff) | |
download | busybox-8f24f9812df8dec34a991b2c572092639586f154.zip busybox-8f24f9812df8dec34a991b2c572092639586f154.tar.gz |
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
@@ -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) |