summaryrefslogtreecommitdiffstats
path: root/src/ft_e_lcom.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 18:34:29 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 18:34:29 +0200
commit92c184c047323fb557d98c4d7e7c884e474c762e (patch)
tree8dc8b78b812b93aaeffc19d0dbbfa1bee24484f3 /src/ft_e_lcom.c
parentMessy echo (diff)
download42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.gz
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.bz2
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.xz
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.tar.zst
42-minishell-92c184c047323fb557d98c4d7e7c884e474c762e.zip
Builtin exit is bav
Diffstat (limited to 'src/ft_e_lcom.c')
-rw-r--r--src/ft_e_lcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_e_lcom.c b/src/ft_e_lcom.c
index 409cbb1..69cdf35 100644
--- a/src/ft_e_lcom.c
+++ b/src/ft_e_lcom.c
@@ -41,7 +41,7 @@ uint8_t
if ((bu_id = ft_get_builtin_id(ptr->com, msh))
< FT_BUILTINS_COUNT)
{
- msh->bu_ptr[bu_id](ptr->args, msh);
+ msh->ret = msh->bu_ptr[bu_id](ptr->args, msh);
}
else
{