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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user