From 592bcb4e93cd89213698fd5d3beda37fa332108e Mon Sep 17 00:00:00 2001 From: LuckyLaszlo Date: Thu, 9 Dec 2021 20:57:31 +0100 Subject: [PATCH] bugfix pipeline redirections --- srcs/parsing/redirections/redirections.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcs/parsing/redirections/redirections.c b/srcs/parsing/redirections/redirections.c index 2c5b63c..d8d7539 100644 --- a/srcs/parsing/redirections/redirections.c +++ b/srcs/parsing/redirections/redirections.c @@ -6,7 +6,7 @@ /* By: lperrey +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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; }