diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-26 18:39:36 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-26 18:39:36 +0200 |
commit | 8b0cb4d5817c8577e8009b6488cb623c183c2dc6 (patch) | |
tree | 154f5a8612c949f3ce70b6eb5fb7af60a08bc151 /src/e_externs.c | |
parent | TODO file update (diff) | |
download | 42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.gz 42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.bz2 42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.xz 42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.zst 42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.zip |
Pretty damn fine
Diffstat (limited to 'src/e_externs.c')
-rw-r--r-- | src/e_externs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/e_externs.c b/src/e_externs.c index 8761986..f4b608c 100644 --- a/src/e_externs.c +++ b/src/e_externs.c @@ -22,7 +22,7 @@ #include "b_export_next.h" #include "d_define.h" #include "f_fail.h" -#include "m_redirs.h" +#include "e_redirs.h" #include "s_com.h" #include "s_destroy.h" #include "s_line.h" @@ -72,6 +72,7 @@ static void { if (ptr->env_fork != NULL) e_export_env_fork(ptr, msh); + e_dup_redirs(ptr, msh); e_extern_child(fullpath, ptr, msh); } else if (pid < 0) |