Send a SIGTERM instead of a SIGQUIT to exit the child
This commit is contained in:
parent
33202881c4
commit
8301d3d9f3
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue