aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io.c b/io.c
index fe234efb..9385a1e6 100644
--- a/io.c
+++ b/io.c
@@ -2060,7 +2060,6 @@ two_way_open(const char *str, struct redirect *rp, int extfd)
case -1:
save_errno = errno;
close(master);
- close(slave);
errno = save_errno;
return false;