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.
This commit is contained in:
Iago López Galeiras
2015-06-30 15:13:57 +02:00
parent 8914ea0e90
commit 10f00ff17b
+4
View File
@@ -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";