diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-19 17:22:59 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-19 17:22:59 -0700 |
commit | b5a007e6f2a760985c5944463b85f475a0b79567 (patch) | |
tree | e1615587aa12831908bc66e1d5b232e8cface3ae /src | |
parent | e68edf0b1471ef7b28174d7e19673b84e022c84b (diff) | |
download | vyatta-cfg-b5a007e6f2a760985c5944463b85f475a0b79567.tar.gz vyatta-cfg-b5a007e6f2a760985c5944463b85f475a0b79567.zip |
more cleanup to new help impl.
Diffstat (limited to 'src')
-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 |