diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-06 19:26:22 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-06 19:26:22 +0200 |
commit | b56f0d819c79833e93eca32399371bdfb23ce92c (patch) | |
tree | 06c536ff39dd5a32017dfbcbe37e38d272519c3c /src/e_builtins.c | |
parent | In progress, trying to redirect correctly (diff) | |
download | 42-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/e_builtins.c')
-rw-r--r-- | src/e_builtins.c | 2 |
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); } |