aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xasterisk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c
index ac2b503c4..a267df996 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -257,7 +257,8 @@ static void *listener(void *unused)
FD_SET(ast_socket, &fds);
s = ast_select(ast_socket + 1, &fds, NULL, NULL, NULL);
if (s < 0) {
- ast_log(LOG_WARNING, "Select returned error: %s\n", strerror(errno));
+ if (errno != EINTR)
+ ast_log(LOG_WARNING, "Select returned error: %s\n", strerror(errno));
continue;
}
len = sizeof(sun);