mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Added SIGPIPE handing. (#127)
If you are grepping the debugging output and then hit ctrl-C, theres a good change hyperiond never cleans up properly.
This commit is contained in:
		| @@ -50,6 +50,7 @@ int main(int argc, char** argv) | |||||||
| 	signal(SIGINT,  signal_handler); | 	signal(SIGINT,  signal_handler); | ||||||
| 	signal(SIGTERM, signal_handler); | 	signal(SIGTERM, signal_handler); | ||||||
| 	signal(SIGCHLD, signal_handler); | 	signal(SIGCHLD, signal_handler); | ||||||
|  | 	signal(SIGPIPE, signal_handler); | ||||||
|  |  | ||||||
| 	// force the locale | 	// force the locale | ||||||
| 	setlocale(LC_ALL, "C"); | 	setlocale(LC_ALL, "C"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user