|
--- a/src/daemon/cgrulesengd.c
|
|
+++ b/src/daemon/cgrulesengd.c
|
|
@@ -889,9 +889,6 @@
|
|
} else if (pid > 0) {
|
|
exit(EXIT_SUCCESS);
|
|
}
|
|
-
|
|
- /* Change the file mode mask. */
|
|
- umask(0);
|
|
} else {
|
|
flog(LOG_DEBUG, "Not using daemon mode\n");
|
|
pid = getpid();<Paste>
|