]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: ignore _netdev, since it is used in generator (#7282)
authorLukáš Nykrýn <lnykryn@redhat.com>
Thu, 9 Nov 2017 13:24:57 +0000 (14:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Nov 2017 13:24:57 +0000 (14:24 +0100)
src/cryptsetup/cryptsetup.c

index 8fc35ad999e279aa150d0dbfc4118e03525662a2..68c7373011bed98f039c7ef92ed2c5a7755760a6 100644 (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="))) {