diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 19:02:13 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 19:02:13 +0200 |
commit | 0d4d084859348ecc41ac2b3997ddc2be984636bd (patch) | |
tree | b023549dec6eed6552f423bb821950de36274973 /src/ft_e_builtins.c | |
parent | ok (diff) | |
download | 42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.gz 42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.bz2 42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.xz 42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.zst 42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.zip |
Parsed bin path in $PATH, now time to execve(2)
Diffstat (limited to 'src/ft_e_builtins.c')
-rw-r--r-- | src/ft_e_builtins.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ft_e_builtins.c b/src/ft_e_builtins.c index 4f2c551..57ba28b 100644 --- a/src/ft_e_builtins.c +++ b/src/ft_e_builtins.c @@ -74,9 +74,7 @@ static void int32_t status; while (wait(&status) != pid) - { - /* TODO: fix this unnormed syntax */ - } + ; msh->ret = WEXITSTATUS(status); } |