diff options
Diffstat (limited to 'src/quotacheck/quotacheck.c')
-rw-r--r-- | src/quotacheck/quotacheck.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c index 0fc0052f72..a51a76411e 100644 --- a/src/quotacheck/quotacheck.c +++ b/src/quotacheck/quotacheck.c @@ -58,10 +58,9 @@ static int run(int argc, char *argv[]) { log_setup_service(); - if (argc > 1) { - log_error("This program takes no arguments."); - return -EINVAL; - } + if (argc > 1) + return log_error_errno(SYNTHETIC_ERRNO(EINVAL), + "This program takes no arguments."); umask(0022); |