projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8914ea0
)
core: handle --log-target=null when calling systemd-shutdown
author
Iago López Galeiras
<iago@endocode.com>
Tue, 30 Jun 2015 13:08:49 +0000
(15:08 +0200)
committer
Iago López Galeiras
<iago@endocode.com>
Tue, 30 Jun 2015 13:13:57 +0000
(15:13 +0200)
When shutting down, if systemd was started with --log-target=null,
systemd-shutdown was being called with --log-target=console.
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index 332453a0ea01e2517aa808550204827eb74bdd1c..523f0ce0206cefb252bf53a91d92197a0c855acd 100644
(file)
--- 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";