summaryrefslogtreecommitdiffstats
path: root/src/e_redirs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_redirs.c')
-rw-r--r--src/e_redirs.c2
1 files changed, 1 insertions, 1 deletions
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);
}