summaryrefslogtreecommitdiffstats
path: root/src/e_builtins.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-25 21:46:45 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-25 21:46:45 +0200
commitd05cc52ae73d3daf54b71d030e7bce659b159f7d (patch)
treead4517c4acf273c7f8c7415891984a9a063ebbf8 /src/e_builtins.c
parentsqb in progress (diff)
download42-minishell-d05cc52ae73d3daf54b71d030e7bce659b159f7d.tar.gz
42-minishell-d05cc52ae73d3daf54b71d030e7bce659b159f7d.tar.bz2
42-minishell-d05cc52ae73d3daf54b71d030e7bce659b159f7d.tar.xz
42-minishell-d05cc52ae73d3daf54b71d030e7bce659b159f7d.tar.zst
42-minishell-d05cc52ae73d3daf54b71d030e7bce659b159f7d.zip
New todo, in progress
Diffstat (limited to '')
-rw-r--r--src/e_builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c
index 18abc16..b94c328 100644
--- a/src/e_builtins.c
+++ b/src/e_builtins.c
@@ -75,7 +75,7 @@ static void
b_export_mute(ptr->argv + 1, msh);
else if (bu_id == FT_ID_UNSET)
msh->bu_ptr[bu_id](ptr->argv + 1, msh);
- else if (bu_id == FT_ID_EXIT && ret == 0)
+ else if (bu_id == FT_ID_EXIT)
{
s_line_clear(&msh->curr);
s_destroy(msh);