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 2249a2d8..8b95b3f1 100644
--- a/io.c
+++ b/io.c
@@ -1974,7 +1974,6 @@ two_way_open(const char *str, struct redirect *rp)
case -1:
save_errno = errno;
close(master);
- close(slave);
errno = save_errno;
return false;