diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-14 02:33:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-14 03:12:25 +0100 |
commit | 0a27cf3f32403f48059396cb43ad25d0a12ef64b (patch) | |
tree | 22a42034117c7135b9b811c966a40627d76f6fd0 /src/quotacheck.c | |
parent | 46824d0e6b2aae8f503464368d02c1da992f56f1 (diff) |
util: return exit status in wait_for_terminate_and_warn()
Diffstat (limited to 'src/quotacheck.c')
-rw-r--r-- | src/quotacheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quotacheck.c b/src/quotacheck.c index 55c2f0c6d6..da2da3b2e0 100644 --- a/src/quotacheck.c +++ b/src/quotacheck.c @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) { _exit(1); /* Operational error */ } - r = wait_for_terminate_and_warn("quotacheck", pid) >= 0 ? EXIT_SUCCESS : EXIT_FAILURE; + r = wait_for_terminate_and_warn("quotacheck", pid) == 0 ? EXIT_SUCCESS : EXIT_FAILURE; finish: return r; |