summaryrefslogtreecommitdiff
path: root/src/quotacheck
diff options
context:
space:
mode:
Diffstat (limited to 'src/quotacheck')
-rw-r--r--src/quotacheck/quotacheck.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c
index 7b11f29507..0fc0052f72 100644
--- a/src/quotacheck/quotacheck.c
+++ b/src/quotacheck/quotacheck.c
@@ -56,9 +56,7 @@ static void test_files(void) {
static int run(int argc, char *argv[]) {
int r;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
+ log_setup_service();
if (argc > 1) {
log_error("This program takes no arguments.");