Compare commits

..

No commits in common. "d99aa39070903aa87ad635fc4939531ca1b49933" and "5cbb6f078dd5c39912995b6cde9306423f6ba902" have entirely different histories.

View File

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */ /* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/24 10:17:59 by erey-bet #+# #+# */ /* Created: 2023/02/24 10:17:59 by erey-bet #+# #+# */
/* Updated: 2023/04/05 12:21:18 by erey-bet ### ########.fr */ /* Updated: 2023/04/05 12:16:37 by erey-bet ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -26,6 +26,8 @@ static int error(int err, char *reason, char *problem)
int ft_exit(char **args, int err) int ft_exit(char **args, int err)
{ {
int err;
if (args[0] == NULL) if (args[0] == NULL)
{ {
write(1, "exit\n", 6); write(1, "exit\n", 6);