summaryrefslogtreecommitdiff
path: root/src/quotacheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quotacheck.c')
-rw-r--r--src/quotacheck.c2
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;