projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set global umask to 0
[project/procd.git]
/
main.c
diff --git
a/main.c
b/main.c
index
f97a9ea
..
71531e3
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-14,6
+14,7
@@
#include <sys/wait.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <getopt.h>
@@
-67,6
+68,7
@@
int main(int argc, char **argv)
return usage(argv[0]);
}
}
+ umask(0);
uloop_init();
procd_signal();
if (getpid() != 1)