Fix asterisk exiting on verbose without a console (bug #1126)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
James Golovich 22 years ago
parent b82aa22442
commit 96e3d08787

@ -588,7 +588,7 @@ static void console_verboser(const char *s, int pos, int replace, int complete)
fflush(stdout);
if (complete)
/* Wake up a select()ing console */
if (consolethread != (pthread_t) -1)
if (option_console && consolethread != (pthread_t) -1)
pthread_kill(consolethread, SIGURG);
}

Loading…
Cancel
Save