bugfix pipeline redirections

This commit is contained in:
LuckyLaszlo
2021-12-09 20:57:31 +01:00
parent f7d37fadb6
commit 592bcb4e93

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/11 18:46:43 by lperrey #+# #+# */
/* Updated: 2021/11/29 12:39:05 by lperrey ### ########.fr */
/* Updated: 2021/12/09 20:38:05 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -37,7 +37,7 @@ int redirections(t_token *t, t_cmd **pipeline)
return (0);
}
}
else if (t->id == '|')
if (t->id == '|')
i++;
t = t->next;
}