diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-28 19:34:00 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-28 19:34:00 +0200 |
commit | 4df7b992eac08144283cfc589c2a8bc6f4c136ee (patch) | |
tree | 291bbce77b0f5b609ced0108757b27b3483471da /src/e_redirs.c | |
parent | New libft funcs (diff) | |
download | 42-minishell-4df7b992eac08144283cfc589c2a8bc6f4c136ee.tar.gz 42-minishell-4df7b992eac08144283cfc589c2a8bc6f4c136ee.tar.bz2 42-minishell-4df7b992eac08144283cfc589c2a8bc6f4c136ee.tar.xz 42-minishell-4df7b992eac08144283cfc589c2a8bc6f4c136ee.tar.zst 42-minishell-4df7b992eac08144283cfc589c2a8bc6f4c136ee.zip |
Fix redirs done
Diffstat (limited to '')
-rw-r--r-- | src/e_redirs.c | 2 |
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); } |