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)); }