summaryrefslogtreecommitdiff
path: root/src/cryptsetup
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-19 16:55:20 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-19 16:55:20 +0200
commit8501384436b410cb9f5929ef6873c59fac6254be (patch)
tree6654fd46ffe9489e8a15a51414a1deeaf026b645 /src/cryptsetup
parent52c611b776c6d17b7aeffb5d9b1b555260b5011b (diff)
stop complaining about unknown kernel cmdline options
Also stop warning about unknown kernel cmdline options in the various tools, not just in PID 1
Diffstat (limited to 'src/cryptsetup')
-rw-r--r--src/cryptsetup/cryptsetup-generator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c
index dfdca1e47b..9530e44bd3 100644
--- a/src/cryptsetup/cryptsetup-generator.c
+++ b/src/cryptsetup/cryptsetup-generator.c
@@ -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;
}