From b98717ae1ac493c3335c684f4d8a57d4ce48c7a0 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 23 Feb 2023 15:12:41 +0100 Subject: [PATCH] execution fix --- execution.c | 1 - 1 file changed, 1 deletion(-) diff --git a/execution.c b/execution.c index a3fe3a7..ffa0a1a 100644 --- a/execution.c +++ b/execution.c @@ -86,7 +86,6 @@ static int ft_excutor(t_cmd *cmd, t_list **env) tab = env_to_strs(env); if (tab == NULL) return (1); - tab = NULL; dup2(cmd->fd_out, 1); dup2(cmd->fd_in, 0); execve(cmd->executable, cmd->args, tab);