free_exit() renamed exit_free()
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/04 05:59:26 by lperrey #+# #+# */
|
||||
/* Updated: 2021/11/29 12:25:59 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/11/29 12:43:38 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -46,7 +46,7 @@ void shell_loop(t_all *c)
|
||||
else if (!line_input)
|
||||
{
|
||||
write(1, "exit\n", 5);
|
||||
free_exit(c, get_last_exit_status());
|
||||
exit_free(c, get_last_exit_status());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user