bugfix pipeline redirections
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2021/11/11 18:46:43 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);
|
return (0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (t->id == '|')
|
if (t->id == '|')
|
||||||
i++;
|
i++;
|
||||||
t = t->next;
|
t = t->next;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user