X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcryptsetup%2Fcryptsetup.c;h=f33284370c0d7c3d588116198abe30ac67cb7d77;hp=56a3b50974671114551ab1ef58a1048a68a09215;hb=adc40dc2f670a6298cce918fb318ba6a4b80c306;hpb=cf37cd2f305db327e05f8e001f5d84887f4fdfeb diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 56a3b5097..f33284370 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -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=")) {