summaryrefslogtreecommitdiffstats
path: root/src/e_externs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/e_externs.c3
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)