diff --git a/src/rutabaga_gfx/src/cross_domain/sys/unix.rs b/src/rutabaga_gfx/src/cross_domain/sys/unix.rs index 9ba9e8c7..99ceda3d 100644 --- a/src/rutabaga_gfx/src/cross_domain/sys/unix.rs +++ b/src/rutabaga_gfx/src/cross_domain/sys/unix.rs @@ -332,7 +332,7 @@ impl WaitContext { token: self.calculate_token(e.data()).unwrap(), readable: e.events() & EpollFlags::EPOLLIN == EpollFlags::EPOLLIN, hung_up: e.events() & EpollFlags::EPOLLHUP == EpollFlags::EPOLLHUP - || e.events() & EpollFlags::EPOLLRDHUP != EpollFlags::EPOLLRDHUP, + || e.events() & EpollFlags::EPOLLRDHUP == EpollFlags::EPOLLRDHUP, }) .collect();