stop complaining about unknown kernel cmdline options

Also stop warning about unknown kernel cmdline options in the various
tools, not just in PID 1
This commit is contained in:
Lennart Poettering
2014-06-19 16:55:20 +02:00
parent 52c611b776
commit 8501384436
5 changed files with 11 additions and 13 deletions
+1 -2
View File
@@ -291,8 +291,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) {
if (!arg_keyfile)
return log_oom();
} else if (startswith(key, "luks.") || startswith(key, "rd.luks."))
log_warning("Unknown kernel switch %s. Ignoring.", key);
}
return 0;
}