summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-07-19 17:22:59 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-07-19 17:22:59 -0700
commitb5a007e6f2a760985c5944463b85f475a0b79567 (patch)
treee1615587aa12831908bc66e1d5b232e8cface3ae /src/cli_new.c
parente68edf0b1471ef7b28174d7e19673b84e022c84b (diff)
downloadvyatta-cfg-b5a007e6f2a760985c5944463b85f475a0b79567.tar.gz
vyatta-cfg-b5a007e6f2a760985c5944463b85f475a0b79567.zip
more cleanup to new help impl.
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c9
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