mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 03:03:52 +01:00 
			
		
		
		
	Fixed invalid cast in Service::BeginExecuteCheck().
This commit is contained in:
		
							parent
							
								
									8c2ab8f552
								
							
						
					
					
						commit
						20eaa441df
					
				| @ -484,7 +484,7 @@ void Service::OnAttributeChanged(const String& name, const Value& oldValue) | ||||
| void Service::BeginExecuteCheck(const function<void (void)>& callback) | ||||
| { | ||||
| 	/* don't run another check if there is one pending */ | ||||
| 	if (Get("current_task")) { | ||||
| 	if (!Get("current_task").IsEmpty()) { | ||||
| 		/* we need to call the callback anyway */ | ||||
| 		callback(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user