[PATCH] cryptsetup: accept "none" option

Frederic Crozat fcrozat at suse.com
Thu Aug 4 07:04:43 PDT 2011


---
 src/cryptsetup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cryptsetup.c b/src/cryptsetup.c
index cf288de..ac7b6d6 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;
-- 
1.7.3.4


--=-Pbb8Wiyunl4UCXRTy9PU--



More information about the systemd-devel mailing list