diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-01 19:21:05 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-01 19:21:05 +0100 |
commit | ff9af4e1906baec74d1ddddb90ef7b72c2262e62 (patch) | |
tree | f2ca8aa58c0c5de9001f9156f55a29e45a7b62af | |
parent | commit (diff) | |
download | 42-minishell-ff9af4e1906baec74d1ddddb90ef7b72c2262e62.tar.gz 42-minishell-ff9af4e1906baec74d1ddddb90ef7b72c2262e62.tar.bz2 42-minishell-ff9af4e1906baec74d1ddddb90ef7b72c2262e62.tar.xz 42-minishell-ff9af4e1906baec74d1ddddb90ef7b72c2262e62.tar.zst 42-minishell-ff9af4e1906baec74d1ddddb90ef7b72c2262e62.zip |
last commit for a long, long time
-rw-r--r-- | src/ft_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |