summaryrefslogtreecommitdiff
path: root/src/gpt-auto-generator/gpt-auto-generator.c
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/gpt-auto-generator/gpt-auto-generator.c
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/gpt-auto-generator/gpt-auto-generator.c')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 78643c9a3c..7dcbbfe497 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -695,8 +695,6 @@ static int parse_proc_cmdline_item(const char *key, const char *value) {
arg_root_rw = true;
else if (streq(key, "ro") && !value)
arg_root_rw = false;
- else if (startswith(key, "systemd.gpt-auto.") || startswith(key, "rd.systemd.gpt-auto."))
- log_warning("Unknown kernel switch %s. Ignoring.", key);
return 0;
}