X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcryptsetup%2Fcryptsetup.c;h=e6b37acb8620bc1da130fa1cffb05d7ae43ca488;hb=687f6a0ba77872299b9fb1f2f04d31c977088a63;hp=15dea7b65b47b1c25ad2bfbf4bac312b5b51b0aa;hpb=7376e835289a3f97174a641a1ca4b7dbda997030;p=elogind.git diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 15dea7b65..e6b37acb8 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -69,7 +69,7 @@ static int parse_one_option(const char *option) { assert(option); /* Handled outside of this tool */ - if (streq(option, "noauto") || streq(option, "nofail")) + if (STR_IN_SET(option, "noauto", "auto", "nofail", "fail")) return 0; if (startswith(option, "cipher=")) {