summaryrefslogtreecommitdiff
path: root/src/modules-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules-load.c')
-rw-r--r--src/modules-load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules-load.c b/src/modules-load.c
index d76defa515..4b3b12109c 100644
--- a/src/modules-load.c
+++ b/src/modules-load.c
@@ -46,6 +46,8 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
if (!(arguments = strv_new("/sbin/modprobe", "-sab", "--", NULL))) {
log_error("Failed to allocate string array");
goto finish;