diff --git a/execution/execution.c b/execution/execution.c index c8c5003..7cb334a 100644 --- a/execution/execution.c +++ b/execution/execution.c @@ -6,7 +6,7 @@ /* By: cchauvet pid == 0) { - signal(SIGQUIT, ft_quit); + signal(SIGQUIT, SIG_DFL); + signal(SIGKILL, SIG_DFL); dup2(cmd->fd_in[0], 0); dup2(cmd->fd_out[0], 1); ft_lstiter(*data->cmds, ft_cmdcloser); diff --git a/syntax/syntax.c b/syntax/syntax.c index 32d0d5e..a786bb5 100644 --- a/syntax/syntax.c +++ b/syntax/syntax.c @@ -6,7 +6,7 @@ /* By: cchauvet