diff options
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r-- | src/e_builtins.c | 2 |
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); |