Merge pull request #10850 from poettering/log-setup

reduce some logging boilerplate
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-11-20 13:36:45 +01:00
committed by GitHub
56 changed files with 77 additions and 167 deletions
+1 -3
View File
@@ -3180,9 +3180,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();
if (arg_user) {
r = user_config_paths(&config_dirs);