mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user