From 6f3b1ab9185474d96043d7bb494b18fb1e7e2456 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 30 Mar 2023 14:30:13 +0200 Subject: [PATCH] fix: execve failed --- execution/execution.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/execution/execution.c b/execution/execution.c index 7d0e81d..ac9baa0 100644 --- a/execution/execution.c +++ b/execution/execution.c @@ -6,7 +6,7 @@ /* By: cchauvet fd_in); ft_closer(cmd->fd_out); execve(cmd->executable, cmd->args, env); - ft_eprintf("minishell: permission denied: %s\n", cmd->executable); return (1); } return (0);