diff options
author | James Golovich <james@gnuinter.net> | 2004-03-02 23:36:53 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-03-02 23:36:53 +0000 |
commit | 96e3d08787193fdbbd157e946bef4af258c59871 (patch) | |
tree | 11a8baa996219e6306204e3b92d41aaa122696a4 /asterisk.c | |
parent | b82aa22442fe159f05605535e654cc3c4ac08e73 (diff) |
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
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c index fb74d638e..dd943334e 100755 --- a/asterisk.c +++ b/asterisk.c @@ -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); } |