From f874ed9f7b62187e82f846961311cb3b25af0877 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 30 Mar 2023 12:33:33 +0200 Subject: [PATCH] fix: '<1 de | ls > 1' --- parse/parse.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/parse/parse.c b/parse/parse.c index 7276da7..27fbc23 100644 --- a/parse/parse.c +++ b/parse/parse.c @@ -89,11 +89,7 @@ int ft_cmd_parser(t_data *data, char *cmd_str) ft_cmddel(cmd); return (1); } - if (ft_executable_parse(data, cmd)) - { - ft_cmddel(cmd); - return (1); - } + ft_executable_parse(data, cmd); return (ft_cmd_adder(data, cmd)); }