]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/remount-fs/remount-fs.c
log: introduce new helper call log_setup_service()
[thirdparty/systemd.git] / src / remount-fs / remount-fs.c
index ece7f2955d12b0661890616d791032c6b3ec7d25..5eb1404670f0bf0cf535ad0cc1cc7787b5ab2d99 100644 (file)
@@ -29,9 +29,7 @@ static int run(int argc, char *argv[]) {
         struct mntent* me;
         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.");