summaryrefslogtreecommitdiffstats
path: root/src/binfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binfmt.c')
-rw-r--r--src/binfmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/binfmt.c b/src/binfmt.c
index a815a112e8..552d8cc227 100644
--- a/src/binfmt.c
+++ b/src/binfmt.c
@@ -127,6 +127,8 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
if (argc > 1) {
r = apply_file(argv[1], false);
} else {