clean: remove trash file

This commit is contained in:
Camille Chauvet
2023-03-13 15:12:50 +01:00
parent 4d3c25547e
commit bf15a86c2e
3 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,8 @@ void ft_remove_redirection(char *cmd_str)
i++;
if (ft_is_in("<>", cmd_str[i]))
start = i;
if (start == -1)
continue ;
while (cmd_str[i] == cmd_str[start])
i++;
i++;