summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-11-20 13:36:45 +0100
committerGitHub <noreply@github.com>2018-11-20 13:36:45 +0100
commit7fa0269bcaf1e1f7060b2c393b3e71b501f4296f (patch)
treead3136cebc19d2fac3c407aad4cadbfb95b9305a /src/tmpfiles/tmpfiles.c
parentad0cdb6b6768a7b8b8d6de32a9c1837b4b7773b0 (diff)
parent6bf3c61c57f1ba439b2124fb89229395a77f8f46 (diff)
downloadsystemd-7fa0269bcaf1e1f7060b2c393b3e71b501f4296f.tar.gz
Merge pull request #10850 from poettering/log-setup
reduce some logging boilerplate
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 31990ff182..9de9498d48 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -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);