diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 19:55:54 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 19:55:54 +0200 |
commit | 026cb9bf7c4c80b34ecabab27409681be7c17a41 (patch) | |
tree | 420ba377ce417b0c78f5d74d093900e8dd6faacb /src/ft_e_builtins.c | |
parent | C'est pas bon ca (diff) | |
download | 42-minishell-026cb9bf7c4c80b34ecabab27409681be7c17a41.tar.gz 42-minishell-026cb9bf7c4c80b34ecabab27409681be7c17a41.tar.bz2 42-minishell-026cb9bf7c4c80b34ecabab27409681be7c17a41.tar.xz 42-minishell-026cb9bf7c4c80b34ecabab27409681be7c17a41.tar.zst 42-minishell-026cb9bf7c4c80b34ecabab27409681be7c17a41.zip |
y a du taff
Diffstat (limited to '')
-rw-r--r-- | src/ft_e_builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_e_builtins.c b/src/ft_e_builtins.c index 57ba28b..d32fbaa 100644 --- a/src/ft_e_builtins.c +++ b/src/ft_e_builtins.c @@ -61,7 +61,7 @@ static void int32_t ret; ft_dup_redirs(ptr, msh); - ret = msh->bu_ptr[bu_id](ptr->args, msh); + ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); ft_lcom_clear(&msh->curr); ft_s_destroy(msh); exit(ret); |