diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-22 13:24:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-12-25 11:48:21 +0100 |
commit | a45d7127e716399ea0ff27b32d5247ee877d1ab4 (patch) | |
tree | f396ece5e662b1b8a80aa8f76bc08b7057341d98 /src/quotacheck | |
parent | shutdown: unify shutdown.c's and async.c's sync() helper process (diff) | |
download | systemd-a45d7127e716399ea0ff27b32d5247ee877d1ab4.tar.xz systemd-a45d7127e716399ea0ff27b32d5247ee877d1ab4.zip |
tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we can
Diffstat (limited to 'src/quotacheck')
-rw-r--r-- | src/quotacheck/quotacheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c index b5636e69d4..cd441675dc 100644 --- a/src/quotacheck/quotacheck.c +++ b/src/quotacheck/quotacheck.c @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) { /* Child */ execv(cmdline[0], (char**) cmdline); - _exit(1); /* Operational error */ + _exit(EXIT_FAILURE); /* Operational error */ } r = wait_for_terminate_and_warn("quotacheck", pid, true); |