mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 11:14:10 +01:00 
			
		
		
		
	
							parent
							
								
									b99b373b6f
								
							
						
					
					
						commit
						78705e74f3
					
				| @ -94,7 +94,7 @@ void ExternalCommandListener::CommandPipeThread(const String& commandPath) | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	for (;;) { | 	for (;;) { | ||||||
| 		int fd = open(commandPath.CStr(), O_RDONLY | O_NONBLOCK); | 		int fd = open(commandPath.CStr(), O_RDWR | O_NONBLOCK); | ||||||
| 
 | 
 | ||||||
| 		if (fd < 0) { | 		if (fd < 0) { | ||||||
| 			Log(LogCritical, "ExternalCommandListener") | 			Log(LogCritical, "ExternalCommandListener") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user