mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
log: honour the kernel's quiet cmdline argument
It was forgotten in b1e90ec515
See https://bugs.freedesktop.org/show_bug.cgi?id=79582
This commit is contained in:
parent
47a3fa0f76
commit
e683212f04
Notes:
Lennart Poettering
2014-06-11 13:11:53 +02:00
Backport: bugfix
@ -878,6 +878,9 @@ void log_parse_environment(void) {
|
||||
if (l == 5 && startswith(w, "debug")) {
|
||||
log_set_max_level(LOG_DEBUG);
|
||||
break;
|
||||
} else if (l == 5 && startswith(w, "quiet")) {
|
||||
log_set_max_level(LOG_WARNING);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user