From 6089f4a9a85111ac7056834ba951aed599ab3c2b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Apr 2010 22:29:35 +0200 Subject: [PATCH] manager: properly check for EINTR in main loop --- manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager.c b/manager.c index 200bbfa0..4244806c 100644 --- a/manager.c +++ b/manager.c @@ -1938,7 +1938,7 @@ int manager_loop(Manager *m) { if ((n = epoll_wait(m->epoll_fd, &event, 1, -1)) < 0) { - if (errno == -EINTR) + if (errno == EINTR) continue; return -errno; -- 2.39.5