uloop: revert signalfd support for now
[project/libubox.git] / uloop.c
diff --git a/uloop.c b/uloop.c
index d2784b772bb490ffefd348aa1ee341ff6833d07a..cd3de85e1435140c2807a75444848705f1f9b6ab 100644 (file)
--- a/uloop.c
+++ b/uloop.c
@@ -308,6 +308,9 @@ static void uloop_handle_processes(void)
 
        while (1) {
                pid = waitpid(-1, &ret, WNOHANG);
+               if (pid < 0 && errno == EINTR)
+                       continue;
+
                if (pid <= 0)
                        return;