It seems to be interfering with systemd:check-help-systemd-executor
test in CI. In practice, any messages from parse_argv() are going
to be from manual invocations, since if called from PID1 the option
syntax is going to be correct. So I hope this fixes the redirection
of --help but otherwise is of little consequence.
cgroup_context_init(&cgroup_context);
/* We might be starting the journal itself, we'll be told by the caller what to do */
- log_set_always_reopen_console(true);
log_set_prohibit_ipc(true);
log_setup();
return r;
/* Now that we know the intended log target, allow IPC and open the final log target. */
+ log_set_always_reopen_console(true);
log_set_prohibit_ipc(false);
log_open();