mirror of
https://github.com/systemd/systemd.git
synced 2024-11-12 15:21:19 +03:00
Merge pull request #424 from endocode/iaguis/shutdown-log-null
core: handle --log-target=null when calling systemd-shutdown
This commit is contained in:
commit
96f9102ce0
@ -1995,6 +1995,10 @@ finish:
|
|||||||
command_line[pos++] = "kmsg";
|
command_line[pos++] = "kmsg";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case LOG_TARGET_NULL:
|
||||||
|
command_line[pos++] = "null";
|
||||||
|
break;
|
||||||
|
|
||||||
case LOG_TARGET_CONSOLE:
|
case LOG_TARGET_CONSOLE:
|
||||||
default:
|
default:
|
||||||
command_line[pos++] = "console";
|
command_line[pos++] = "console";
|
||||||
|
Loading…
Reference in New Issue
Block a user