aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 548c6d8f9..90fccafd1 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -2437,7 +2437,9 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
}
}
if (read(chan->alertpipe[0], &blah, sizeof(blah)) < 0) {
- ast_log(LOG_WARNING, "read() failed: %s\n", strerror(errno));
+ if (errno != EINTR && errno != EAGAIN) {
+ ast_log(LOG_WARNING, "read() failed: %s\n", strerror(errno));
+ }
}
}