Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/)

This commit is contained in:
Axel Wagner 2010-12-26 14:45:31 +01:00
parent f539f76e5b
commit 29aaced900
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ void start_child(char *command) {
*/
void kill_child() {
if (child_pid != 0) {
kill(child_pid, SIGCONT);
kill(child_pid, SIGTERM);
}
cleanup();