src/server/daemon/event_linux.c

changeset 126
631aaa01b2b5
parent 79
f48cea237ec3
child 133
87b405d61f64
--- a/src/server/daemon/event_linux.c	Sun Oct 30 10:22:00 2016 +0100
+++ b/src/server/daemon/event_linux.c	Sun Oct 30 11:44:04 2016 +0100
@@ -96,7 +96,7 @@
     for(;;) {
         /* wait for events */
         int ret = epoll_wait(ep, events, 16, 100000);
-        if(ret == -1) {
+        if(ret == -1 && errno != EINTR) {
             /* TODO: check for error */
             perror("epoll_wait");
             continue;

mercurial