X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Flog.c;h=321c1bd20ee62ee1f79021651bc1671fa1c12e45;hp=e05dd65689cf0d226e3f1a22895ff3043049fca0;hb=1e2c11636861da69c5637e59afe207a11dd4f386;hpb=a1f1ad7cadfc2cf8afeeb953644a7508eaba957e diff --git a/src/basic/log.c b/src/basic/log.c index e05dd6568..321c1bd20 100644 --- a/src/basic/log.c +++ b/src/basic/log.c @@ -1030,7 +1030,7 @@ void log_parse_environment(void) { /* Only try to read the command line in daemons. We assume that anything that has a controlling tty is user stuff. */ - (void) parse_proc_cmdline(parse_proc_cmdline_item, NULL); + (void) parse_proc_cmdline(parse_proc_cmdline_item, NULL, true); e = secure_getenv("SYSTEMD_LOG_TARGET"); if (e && log_set_target_from_string(e) < 0)