chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gperf: add missing.h that was present in the C version to the m4
[elogind.git]
/
src
/
modules-load.c
diff --git
a/src/modules-load.c
b/src/modules-load.c
index d76defa515732896d61f2d11a9ce1e7b6b432860..4b3b12109c311d237f057a48247a0bd08c44a12d 100644
(file)
--- 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;