From 18e63533297a065903273d67fecdbd39f6778ba1 Mon Sep 17 00:00:00 2001 From: maix0 Date: Thu, 24 Oct 2024 23:03:24 +0200 Subject: [PATCH] chore: removed debug print --- sources/_helper_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sources/_helper_main.c b/sources/_helper_main.c index 77dbf754..adf3c0d0 100644 --- a/sources/_helper_main.c +++ b/sources/_helper_main.c @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/09/06 16:31:41 by rparodi #+# #+# */ -/* Updated: 2024/10/24 22:31:52 by maiboyer ### ########.fr */ +/* Updated: 2024/10/24 23:02:59 by maiboyer ### ########.fr */ /* */ /* ************************************************************************** */ @@ -64,11 +64,9 @@ void exec_shcat(t_state *state) vec_ast_push(&prog->data.program.body, state->ast); state->ast = prog; } - ast_print(state->ast); if (state->ast != NULL && run_program(&state->ast->data.program, state, &prog_res)) { - printf("Error when executing the cmd\n"); state->last_exit = 127; } ast_free(state->ast);