summaryrefslogtreecommitdiff
path: root/src/shared/fdset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/fdset.c')
-rw-r--r--src/shared/fdset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/fdset.c b/src/shared/fdset.c
index fd27398ebb..a2c861de3f 100644
--- a/src/shared/fdset.c
+++ b/src/shared/fdset.c
@@ -82,7 +82,7 @@ int fdset_put_dup(FDSet *s, int fd) {
r = fdset_put(s, copy);
if (r < 0) {
- close_nointr_nofail(copy);
+ safe_close(copy);
return r;
}