This commit is contained in:
Etienne Rey-bethbeder 2023-04-14 15:54:27 +02:00
commit 882a39fc94

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/21 12:45:16 by cchauvet #+# #+# */
/* Updated: 2023/04/14 12:41:02 by cchauvet ### ########.fr */
/* Updated: 2023/04/14 13:04:01 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -51,7 +51,6 @@ static bool ft_executor(t_data *data, t_cmd *cmd, char **env)
if (cmd->pid == 0)
{
signal(SIGQUIT, SIG_DFL);
signal(SIGKILL, SIG_DFL);
signal(SIGINT, SIG_DFL);
dup2(cmd->fd_in[0], 0);
dup2(cmd->fd_out[0], 1);