free_exit() renamed exit_free()

This commit is contained in:
LuckyLaszlo
2021-11-29 12:44:46 +01:00
parent 33f4878f36
commit b265e8475a
8 changed files with 16 additions and 16 deletions

View File

@@ -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());
}
}
}