summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nxt_epoll_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_epoll_engine.c b/src/nxt_epoll_engine.c
index c3d629a6..c70daa99 100644
--- a/src/nxt_epoll_engine.c
+++ b/src/nxt_epoll_engine.c
@@ -749,6 +749,7 @@ nxt_epoll_signalfd_handler(nxt_task_t *task, void *obj, void *data)
if (n != sizeof(struct signalfd_siginfo)) {
nxt_log(task, NXT_LOG_CRIT, "read signalfd(%d) failed %E",
ev->fd, nxt_errno);
+ return;
}
nxt_debug(task, "signalfd(%d) signo:%d", ev->fd, sfd.ssi_signo);