chiark / gitweb /
cryptsetup: fix nofail support
[elogind.git] / src / cryptsetup / cryptsetup.c
index 56a3b50974671114551ab1ef58a1048a68a09215..f33284370c0d7c3d588116198abe30ac67cb7d77 100644 (file)
@@ -62,7 +62,7 @@ static int parse_one_option(const char *option) {
         assert(option);
 
         /* Handled outside of this tool */
-        if (streq(option, "noauto"))
+        if (streq(option, "noauto") || streq(option, "nofail"))
                 return 0;
 
         if (startswith(option, "cipher=")) {