summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-06 19:26:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-06 19:26:22 +0200
commitb56f0d819c79833e93eca32399371bdfb23ce92c (patch)
tree06c536ff39dd5a32017dfbcbe37e38d272519c3c /src
parentIn progress, trying to redirect correctly (diff)
download42-minishell-b56f0d819c79833e93eca32399371bdfb23ce92c.tar.gz
42-minishell-b56f0d819c79833e93eca32399371bdfb23ce92c.tar.bz2
42-minishell-b56f0d819c79833e93eca32399371bdfb23ce92c.tar.xz
42-minishell-b56f0d819c79833e93eca32399371bdfb23ce92c.tar.zst
42-minishell-b56f0d819c79833e93eca32399371bdfb23ce92c.zip
Removed shit
Diffstat (limited to 'src')
-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);
}