]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/quotacheck/quotacheck.c
log: introduce new helper call log_setup_service()
[thirdparty/systemd.git] / src / quotacheck / quotacheck.c
index 7b11f29507f0cdad091a1b066ca9bb88b688e2a1..0fc0052f724972ccd7d282e7356f00167cdf1998 100644 (file)
@@ -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.");