chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nspawn: add "-n" shortcut for "--network-veth"
[elogind.git]
/
src
/
cryptsetup
/
cryptsetup.c
diff --git
a/src/cryptsetup/cryptsetup.c
b/src/cryptsetup/cryptsetup.c
index 15dea7b65b47b1c25ad2bfbf4bac312b5b51b0aa..e6b37acb8620bc1da130fa1cffb05d7ae43ca488 100644
(file)
--- 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, "no
fail"))
+ if (
STR_IN_SET(option, "noauto", "auto", "nofail", "
fail"))
return 0;
if (startswith(option, "cipher=")) {