Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uloop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/uloop.c b/uloop.c
index 6ef7210..45f7c5d 100644
--- a/uloop.c
+++ b/uloop.c
@@ -311,6 +311,9 @@ static void uloop_handle_processes(void)
while (1) {
pid = waitpid(-1, &ret, WNOHANG);
+ if (pid < 0 && errno == EINTR)
+ continue;
+
if (pid <= 0)
return;