chiark / gitweb /
cryptsetup: accept "none" option
[elogind.git] / src / cryptsetup.c
index cf288de63141274da738339dd9fb93cc4affb18b..ac7b6d6c38440838dbf8db643fd096fd65773152 100644 (file)
@@ -110,7 +110,7 @@ static int parse_one_option(const char *option) {
                         return 0;
                 }
 
                         return 0;
                 }
 
-        } else
+        } else if (!streq(option, "none"))
                 log_error("Encountered unknown /etc/crypttab option '%s', ignoring.", option);
 
         return 0;
                 log_error("Encountered unknown /etc/crypttab option '%s', ignoring.", option);
 
         return 0;