1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 15:23:12 +02:00

Fix error handling in kqueue reload

This commit is contained in:
Travis McArthur
2015-10-16 15:34:10 -07:00
parent b747d00dea
commit 4e8f954db6
+2 -3
View File
@@ -300,10 +300,9 @@ void fd_fork()
if (kevent(kqueue_fd, &kqueue_prepared[p], 1, NULL, 0, &(const struct timespec){ .tv_sec = 0, .tv_nsec = 0}) != 0)
{
if (ERRNO == P_EWOULDBLOCK || ERRNO == P_EAGAIN)
return;
continue;
ircd_log(LOG_ERROR, "[BUG?] kevent returned %d", errno);
return;
}
}
}