summaryrefslogtreecommitdiff
path: root/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-23 22:29:35 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-23 22:29:35 +0200
commit6089f4a9a85111ac7056834ba951aed599ab3c2b (patch)
tree074dc6f025f7c6b01e0194d421d341d09e80302b /manager.c
parent12d138758d38699bec0a1245bbcf1b268668e141 (diff)
manager: properly check for EINTR in main loop
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index 200bbfa006..4244806ce2 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;