diff --git a/bonus/pipex_utils2_bonus.c b/bonus/pipex_utils2_bonus.c index e26c2f5..f04f834 100644 --- a/bonus/pipex_utils2_bonus.c +++ b/bonus/pipex_utils2_bonus.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/14 15:46:08 by erey-bet #+# #+# */ -/* Updated: 2023/03/21 16:09:11 by erey-bet ### ########.fr */ +/* Updated: 2023/03/22 16:24:46 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -49,7 +49,7 @@ int verification_command(char *argv[], t_data data) { print_error(1, argv[2 + i]); if (i == data.argc - 4) - return (free_all(&data)); + return (1); } } }