X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcryptsetup%2Fcryptsetup.c;h=a8cdf10177b6311642470d05976610c2fa7bbe7f;hb=de1c301ed165eb4d04a0c9d4babe97912b5233bb;hp=f33284370c0d7c3d588116198abe30ac67cb7d77;hpb=adc40dc2f670a6298cce918fb318ba6a4b80c306;p=elogind.git diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index f33284370..a8cdf1017 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -111,7 +111,7 @@ static int parse_one_option(const char *option) { return 0; } - } else if (streq(option, "readonly")) + } else if (streq(option, "readonly") || streq(option, "read-only")) opt_readonly = true; else if (streq(option, "verify")) opt_verify = true;