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);