summaryrefslogtreecommitdiff
path: root/src/getty-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getty-generator.c')
-rw-r--r--src/getty-generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/getty-generator.c b/src/getty-generator.c
index 7b91094b31..b8228e9822 100644
--- a/src/getty-generator.c
+++ b/src/getty-generator.c
@@ -73,6 +73,8 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
if (detect_container(NULL) > 0) {
log_debug("Automatic adding console shell.");