aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 9781bf65d..9c73760f0 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14111,7 +14111,7 @@ forkshell_evalbackcmd(struct forkshell *fs)
14111 close(pip[0]); 14111 close(pip[0]);
14112 if (pip[1] != 1) { 14112 if (pip[1] != 1) {
14113 /*close(1);*/ 14113 /*close(1);*/
14114 copyfd(pip[1], 1 | COPYFD_EXACT); 14114 dup2_or_raise(pip[1], 1);
14115 close(pip[1]); 14115 close(pip[1]);
14116 } 14116 }
14117 eflag = 0; 14117 eflag = 0;