From 8b0cb4d5817c8577e8009b6488cb623c183c2dc6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 26 Sep 2020 18:39:36 +0200 Subject: Pretty damn fine --- src/e_externs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/e_externs.c') 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) -- cgit v1.2.3