summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lash.c2
-rw-r--r--sh.c2
-rw-r--r--shell/lash.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lash.c b/lash.c
index 57d969e40..11016a009 100644
--- a/lash.c
+++ b/lash.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;
}
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;
}
diff --git a/shell/lash.c b/shell/lash.c
index 57d969e40..11016a009 100644
--- a/shell/lash.c
+++ b/shell/lash.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;
}