summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/e_builtins.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c
index d6ca4f4..e84094a 100644
--- a/src/e_builtins.c
+++ b/src/e_builtins.c
@@ -31,6 +31,4 @@ void
dup_redirs(ptr, msh);
ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh);
msh->ret = ret;
- if (ptr->redir > 0)
- close(ptr->rdrfd);
}