Send a SIGTERM instead of a SIGQUIT to exit the child

This commit is contained in:
Axel Wagner 2010-11-11 02:59:17 +01:00
parent 33202881c4
commit 8301d3d9f3
1 changed files with 1 additions and 1 deletions

View File

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