From: Iago López Galeiras Date: Tue, 30 Jun 2015 13:08:49 +0000 (+0200) Subject: core: handle --log-target=null when calling systemd-shutdown X-Git-Tag: v222~62^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10f00ff17b9c9b55dc77c99797d27cb819fa5fdf;p=thirdparty%2Fsystemd.git core: handle --log-target=null when calling systemd-shutdown When shutting down, if systemd was started with --log-target=null, systemd-shutdown was being called with --log-target=console. --- diff --git a/src/core/main.c b/src/core/main.c index 332453a0ea0..523f0ce0206 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1995,6 +1995,10 @@ finish: command_line[pos++] = "kmsg"; break; + case LOG_TARGET_NULL: + command_line[pos++] = "null"; + break; + case LOG_TARGET_CONSOLE: default: command_line[pos++] = "console";