chiark / gitweb /
binfmt: move sources to subdirectory
[elogind.git] / src / cryptsetup.c
index c0caf9a93035e38155cf88f0196721471066ee7a..ac7b6d6c38440838dbf8db643fd096fd65773152 100644 (file)
@@ -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;
@@ -241,6 +241,8 @@ int main(int argc, char *argv[]) {
         log_parse_environment();
         log_open();
 
+        umask(0022);
+
         if (streq(argv[1], "attach")) {
                 uint32_t flags = 0;
                 int k;