diff options
-rw-r--r-- | src/cli_new.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cli_new.c b/src/cli_new.c index 4884d9e..19aae1c 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -2427,18 +2427,9 @@ system_out(const char *cmd, const char **outbuf) return old_system_out(cmd); } - /* - struct sigaction sa; - sigaction(SIGCHLD, NULL, &sa); - sa.sa_flags |= SA_NOCLDWAIT;//(since POSIX.1-2001 and Linux 2.6 and later) - sigaction(SIGCHLD, &sa, NULL); - */ if (cmd == NULL) { return -1; } - //should detach child process at this point - umask(0); - setsid(); int cp[2]; // Child to parent pipe |