]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/wait-online/wait-online.c
log: introduce new helper call log_setup_service()
[thirdparty/systemd.git] / src / network / wait-online / wait-online.c
index 2ba6329a7a25a8b6eeffed92fcb63bac11aa4207..2d7459332672951b97dc5dae3daf1a775197d43a 100644 (file)
@@ -109,9 +109,7 @@ int main(int argc, char *argv[]) {
         _cleanup_(manager_freep) Manager *m = NULL;
         int r;
 
-        log_set_target(LOG_TARGET_AUTO);
-        log_parse_environment();
-        log_open();
+        log_setup_service();
 
         umask(0022);