summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 0f74984..247b390 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -562,7 +562,7 @@ static inline void reap_zombies(void) {
pr_debug("child process %u finished", (unsigned)pid);
}
else {
- if (errno == ECHILD) {
+ if (errno == ECHILD || errno == EINTR) {
i++;
continue;
}