summaryrefslogtreecommitdiffstats
path: root/src/binfmt/binfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binfmt/binfmt.c')
-rw-r--r--src/binfmt/binfmt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index 9cead4a87c..09f1bb3968 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -185,9 +185,7 @@ int main(int argc, char *argv[]) {
if (r <= 0)
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
+ log_setup_service();
umask(0022);