You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/deps/libdaemon/daemon_fork_umask.patch

14 lines
357 B

diff --git libdaemon/dfork.c libdaemon/dfork.c
index 70fce86..8373038 100644
--- libdaemon/dfork.c
+++ libdaemon/dfork.c
@@ -235,7 +235,7 @@ pid_t daemon_fork(void) {
goto fail;
}
- umask(0077);
+ // umask(0077);
if (chdir("/") < 0) {
daemon_log(LOG_ERR, "chdir() failed: %s", strerror(errno));