Skip to content
Snippets Groups Projects
Commit 0c0bf14d authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Just in case of a race, send the signal on interrupt.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0c5fb803
No related branches found
No related tags found
No related merge requests found
......@@ -261,6 +261,9 @@ static void *inotify_daemon(void *data)
} else if (res < 0) {
if (errno == EINTR || errno == EAGAIN) {
/* If read fails, try again */
AST_LIST_LOCK(&zonelist);
ast_cond_broadcast(&initialization);
AST_LIST_UNLOCK(&zonelist);
continue;
}
/* Sanity check -- this should never happen, either */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment