Changed the way running external commands are hanlded to address issues with it not working on some systems/configurations. Just using system and popen and fw commands are run with stdout and stderr tied to gether.

git-svn-id: file:///home/mbr/svn/fwknop/trunk@230 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Damien Stuart
2010-07-03 02:07:28 +00:00
parent 3c3d75abb5
commit b6c57aa6a0
9 changed files with 173 additions and 107 deletions

View File

@@ -61,6 +61,7 @@ sig_handler(int sig)
return;
case SIGCHLD:
got_sigchld = 1;
waitpid(-1, NULL, WNOHANG);
return;
}
}