summaryrefslogtreecommitdiff
path: root/src/ae_epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ae_epoll.c')
-rw-r--r--src/ae_epoll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ae_epoll.c b/src/ae_epoll.c
index fa197297e..07ca8ca41 100644
--- a/src/ae_epoll.c
+++ b/src/ae_epoll.c
@@ -51,6 +51,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) {
zfree(state);
return -1;
}
+ anetCloexec(state->epfd);
eventLoop->apidata = state;
return 0;
}