]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/firstboot/firstboot.c
log: introduce new helper call log_setup_service()
[thirdparty/systemd.git] / src / firstboot / firstboot.c
index d8b5893f76f774c4c991a05b5fd6d995f86edd39..314c8a37908fdc4a71c6677b9ed909b056df0578 100644 (file)
@@ -949,9 +949,7 @@ int main(int argc, char *argv[]) {
         if (r <= 0)
                 goto finish;
 
-        log_set_target(LOG_TARGET_AUTO);
-        log_parse_environment();
-        log_open();
+        log_setup_service();
 
         umask(0022);