summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-30 10:58:35 -0400
committerLennart Poettering <lennart@poettering.net>2015-06-30 10:58:35 -0400
commit96f9102ce0c0d4152e67b01007706fcd56c9b4a2 (patch)
treee81d6b47ff690a4da6230c4cabc837a06c85f218
parent8914ea0e90f2c9316dcccb6402ff86339eb195e1 (diff)
parent10f00ff17b9c9b55dc77c99797d27cb819fa5fdf (diff)
Merge pull request #424 from endocode/iaguis/shutdown-log-null
core: handle --log-target=null when calling systemd-shutdown
-rw-r--r--src/core/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 332453a0ea..523f0ce020 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";