From ff9af4e1906baec74d1ddddb90ef7b72c2262e62 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 1 Nov 2019 19:21:05 +0100 Subject: last commit for a long, long time --- src/ft_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ft_exec.c b/src/ft_exec.c index dffaf3d..555be96 100644 --- a/src/ft_exec.c +++ b/src/ft_exec.c @@ -29,7 +29,7 @@ ft_exec(char **com) return (ft_error(com[0], 127)); } else - if ((execve(com[0] + 2, com, NULL)) != 0) + if ((execve(com[0], com, NULL)) != 0) return (ft_error(com[0], 127)); return (0); } -- cgit v1.2.3