This commit is contained in:
2023-07-11 01:57:48 +02:00
parent 72c2e24050
commit f4697ce0f3

View File

@ -364,7 +364,7 @@ void async_thread(void) {
if (epoll_ctl(epoll_fd, EPOLL_CTL_DEL, evt->fd, NULL) == -1) { if (epoll_ctl(epoll_fd, EPOLL_CTL_DEL, evt->fd, NULL) == -1) {
if (errno == EBADF || errno == ENOENT) { if (errno == EBADF || errno == ENOENT) {
// already closed fd or not found, do not die // already closed fd or not found, do not die
critical("Unable to remove file descriptor from epoll instance"); warning("Unable to remove file descriptor from epoll instance");
errno = 0; errno = 0;
} else { } else {
critical("Unable to remove file descriptor from epoll instance"); critical("Unable to remove file descriptor from epoll instance");