From f0afd69bf6b01bb7e68b09cfe33ca8aac3927ff5 Mon Sep 17 00:00:00 2001 From: Etienne Rey-bethbeder Date: Wed, 5 Apr 2023 12:21:46 +0200 Subject: [PATCH] ntm --- builtins/exit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builtins/exit.c b/builtins/exit.c index d2ff519..fd81ce6 100644 --- a/builtins/exit.c +++ b/builtins/exit.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/24 10:17:59 by erey-bet #+# #+# */ -/* Updated: 2023/04/05 12:16:37 by erey-bet ### ########.fr */ +/* Updated: 2023/04/05 12:21:18 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -26,8 +26,6 @@ static int error(int err, char *reason, char *problem) int ft_exit(char **args, int err) { - int err; - if (args[0] == NULL) { write(1, "exit\n", 6);