aboutsummaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh.c b/sh.c
index 57d969e40..11016a009 100644
--- a/sh.c
+++ b/sh.c
@@ -632,7 +632,7 @@ static void close_all()
{
struct close_me *c;
for (c=close_me_head; c; c=c->next) {
- close(c->fd);
+ mark_closed(c->fd);
}
close_me_head = NULL;
}