1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-13 23:21:08 +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:
Lennart Poettering 2015-06-30 10:58:35 -04:00
commit 96f9102ce0

View File

@ -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";