summaryrefslogtreecommitdiffstats
path: root/src/ft_e_builtins.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_e_builtins.c2
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);