summaryrefslogtreecommitdiffstats
path: root/src/stdio-bridge
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stdio-bridge/stdio-bridge.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stdio-bridge/stdio-bridge.c b/src/stdio-bridge/stdio-bridge.c
index fe551cf..d3629f5 100644
--- a/src/stdio-bridge/stdio-bridge.c
+++ b/src/stdio-bridge/stdio-bridge.c
@@ -105,9 +105,7 @@ static int run(int argc, char *argv[]) {
bool is_unix;
int r, in_fd, out_fd;
- log_set_target(LOG_TARGET_JOURNAL_OR_KMSG);
- log_parse_environment();
- log_open();
+ log_setup();
r = parse_argv(argc, argv);
if (r <= 0)