summaryrefslogtreecommitdiffstats
path: root/source4/lib/events/events_epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/events/events_epoll.c')
-rw-r--r--source4/lib/events/events_epoll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/events/events_epoll.c b/source4/lib/events/events_epoll.c
index cfea8363ab..5b6266fb49 100644
--- a/source4/lib/events/events_epoll.c
+++ b/source4/lib/events/events_epoll.c
@@ -109,6 +109,7 @@ static void epoll_reopen(struct epoll_event_context *epoll_ev)
close(epoll_ev->epoll_fd);
epoll_ev->epoll_fd = epoll_create(64);
if (epoll_ev->epoll_fd == -1) {
+ DEBUG(0,("Failed to recreate epoll handle after fork\n"));
return;
}
epoll_ev->pid = getpid();