chiark / gitweb /
update README
[elogind.git] / src / getty-generator.c
index 7b91094b313b6be4527d30379b231a5a11a13b0e..7cce76fb81cefea9826fea2ed21029998b43f78c 100644 (file)
@@ -73,8 +73,10 @@ int main(int argc, char *argv[]) {
         log_parse_environment();
         log_open();
 
+        umask(0022);
+
         if (detect_container(NULL) > 0) {
-                log_debug("Automatic adding console shell.");
+                log_debug("Automatically adding console shell.");
 
                 if (add_symlink("console-shell.service", "console-shell.service") < 0)
                         r = EXIT_FAILURE;