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:
@@ -61,6 +61,7 @@ sig_handler(int sig)
|
||||
return;
|
||||
case SIGCHLD:
|
||||
got_sigchld = 1;
|
||||
waitpid(-1, NULL, WNOHANG);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user