cryptsetup: ignore _netdev, since it is used in generator (#7282)

This commit is contained in:
Lukáš Nykrýn
2017-11-09 14:24:57 +01:00
committed by Lennart Poettering
parent f5f0dca0ce
commit f7576eb9fd

View File

@@ -77,7 +77,7 @@ static int parse_one_option(const char *option) {
assert(option);
/* Handled outside of this tool */
if (STR_IN_SET(option, "noauto", "auto", "nofail", "fail"))
if (STR_IN_SET(option, "noauto", "auto", "nofail", "fail", "_netdev"))
return 0;
if ((val = startswith(option, "cipher="))) {