summary refs log tree commit diff
path: root/rvnit.c
diff options
context:
space:
mode:
Diffstat (limited to 'rvnit.c')
-rw-r--r--rvnit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rvnit.c b/rvnit.c
index 4389477..fcc83f1 100644
--- a/rvnit.c
+++ b/rvnit.c
@@ -752,6 +752,7 @@ main(int argc, char *argv[])
 
 	pid1 = real_pid1 = (getpid() == 1);
 	if (pid1) {
+		umask(0022);
 		setenv("PATH", "/usr/bin:/usr/sbin", 0);
 		init_mount();
 		own_console();