summaryrefslogtreecommitdiffhomepage
path: root/src/child.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/child.c')
-rw-r--r--src/child.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/child.c b/src/child.c
index 2c4dc22..effb2ae 100644
--- a/src/child.c
+++ b/src/child.c
@@ -233,6 +233,9 @@ static void child_main (struct child_s *ptr)
ret = select(maxfd + 1, &rfds, NULL, NULL, NULL);
if (ret == -1) {
+ if (errno == EINTR) {
+ continue;
+ }
log_message (LOG_ERR, "error calling select: %s",
strerror(errno));
exit(1);