aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c2
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);
}