From ffd4838e8fbaafa80945bcbd74c0dea3ae53105b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 5 Oct 2020 16:11:54 +0200 Subject: Fix --- src/e_builtins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/e_builtins.c') diff --git a/src/e_builtins.c b/src/e_builtins.c index 734a317..d08cf63 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -81,7 +81,7 @@ static void e_builtin_parent(pid_t pid, else if (bu_id == B_ID_EXIT) { if (msh->fd == STDIN_FILENO) - m_dump_hist(msh); + m_dump_hist(msh->curr_hist_ptr, msh); s_com_destroy(&msh->com); s_line_clear(&msh->curr); s_destroy(msh); -- cgit v1.2.3