From 4df7b992eac08144283cfc589c2a8bc6f4c136ee Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 28 Sep 2020 19:34:00 +0200 Subject: Fix redirs done --- src/e_redirs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/e_redirs.c') diff --git a/src/e_redirs.c b/src/e_redirs.c index 6bb600f..246f2c7 100644 --- a/src/e_redirs.c +++ b/src/e_redirs.c @@ -82,7 +82,7 @@ void e_dup_redirs(const t_com *com, t_msh *msh) ptr = com->rdr; while (ptr != NULL) { - if (ptr->redir == -2) + if (ptr->redir == -2 || ptr->redir == -3) { e_redir_minus_two(ptr); } -- cgit v1.2.3