1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-22 09:57:34 +03:00

manager: properly check for EINTR in main loop

This commit is contained in:
Lennart Poettering 2010-04-23 22:29:35 +02:00
parent 12d138758d
commit 6089f4a9a8

View File

@ -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;