chiark / gitweb /
umask: change default umask to 0022 just to be sure, and set it explicitly in all...
[elogind.git] / src / binfmt.c
index a815a112e8cbe327db4c9c7ca4b3be66cf4ac664..552d8cc227ec5131c1071573560197782e1b6181 100644 (file)
@@ -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 {