summaryrefslogtreecommitdiffstats
path: root/libdaemon/dfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdaemon/dfork.c')
-rw-r--r--libdaemon/dfork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdaemon/dfork.c b/libdaemon/dfork.c
index e705155..2f57f1c 100644
--- a/libdaemon/dfork.c
+++ b/libdaemon/dfork.c
@@ -515,7 +515,7 @@ int daemon_close_allv(const int except_fds[]) {
return -1;
}
- if (fd <= 3)
+ if (fd < 3)
continue;
if (fd == dirfd(d))