summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2011-08-04 16:04:43 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-24 16:22:58 +0200
commit41e6f28acc906960f21658c94ac79652705ded0c (patch)
treea63778777f50bb8e35ba2b4bcaa32a7ac91d66ae
parentf47cd184c0ff80e025428e9e385e61bda1ef3d69 (diff)
cryptsetup: accept "none" option
-rw-r--r--src/cryptsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup.c b/src/cryptsetup.c
index cf288de631..ac7b6d6c38 100644
--- a/src/cryptsetup.c
+++ b/src/cryptsetup.c
@@ -110,7 +110,7 @@ static int parse_one_option(const char *option) {
return 0;
}
- } else
+ } else if (!streq(option, "none"))
log_error("Encountered unknown /etc/crypttab option '%s', ignoring.", option);
return 0;