diff options
Diffstat (limited to 'src/e_redirs.c')
-rw-r--r-- | src/e_redirs.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/e_redirs.c b/src/e_redirs.c index 246f2c7..1d66226 100644 --- a/src/e_redirs.c +++ b/src/e_redirs.c @@ -83,21 +83,15 @@ void e_dup_redirs(const t_com *com, t_msh *msh) while (ptr != NULL) { if (ptr->redir == -2 || ptr->redir == -3) - { e_redir_minus_two(ptr); - } else if (ptr->redir == -1) - { e_redir_minus_one(ptr, msh); - } else if (ptr->redir == 1) - { e_redir_plus_one(ptr, msh); - } else if (ptr->redir == 2) - { e_redir_plus_two(ptr, msh); - } + /* else if (ptr->redir == 3) */ + /* e_redir_plus_three(ptr, msh); */ ptr = ptr->next; } } |