diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-23 22:29:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-23 22:29:35 +0200 |
commit | 6089f4a9a85111ac7056834ba951aed599ab3c2b (patch) | |
tree | 074dc6f025f7c6b01e0194d421d341d09e80302b | |
parent | 12d138758d38699bec0a1245bbcf1b268668e141 (diff) |
manager: properly check for EINTR in main loop
-rw-r--r-- | manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |