fix: compile now
This commit is contained in:
parent
6498031d59
commit
c1e61780e0
@ -6,7 +6,7 @@
|
|||||||
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/03/27 13:44:22 by cchauvet #+# #+# */
|
/* Created: 2023/03/27 13:44:22 by cchauvet #+# #+# */
|
||||||
/* Updated: 2023/03/29 17:58:57 by cchauvet ### ########.fr */
|
/* Updated: 2023/03/29 19:11:46 by cchauvet ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -79,8 +79,7 @@ int ft_set_redirection(t_data *data, t_cmd *cmd, char **tab)
|
|||||||
while (tab[i + 1] != NULL)
|
while (tab[i + 1] != NULL)
|
||||||
{
|
{
|
||||||
ft_quote_remover(tab[i + 1]);
|
ft_quote_remover(tab[i + 1]);
|
||||||
if (ft_check_redirection(data, cmd, tab[i], tab[i + 1]) == 2)
|
ft_check_redirection(data, cmd, tab[i], tab[i + 1]);
|
||||||
return (1);
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user