fixed the unfixable bug

This commit is contained in:
mdev9
2024-03-25 13:50:20 +01:00
parent 6e0afd2499
commit 5a3bbfa236
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/07 14:12:49 by tomoron #+# #+# */
/* Updated: 2024/03/24 16:27:24 by tomoron ### ########.fr */
/* Updated: 2024/03/25 13:49:08 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -62,8 +62,8 @@ void exec_command(t_msh *msh, int i, int cmd_count)
}
if (!cmd_is_builtin(msh, msh->cmds->token))
get_cmd_path(msh);
if(!g_return_code)
exec(msh, get_cmd_args(msh), i, cmd_count);
//if(!g_return_code)
exec(msh, get_cmd_args(msh), i, cmd_count);
remove_command_from_msh(msh);
}