mirror of https://github.com/Icinga/icinga2.git
parent
90f102abf3
commit
0b95be7b99
|
@ -166,7 +166,7 @@ bool Downtime::IsInEffect(void) const
|
|||
if (triggerTime == 0)
|
||||
return false;
|
||||
|
||||
return (triggerTime + GetDuration() < now);
|
||||
return (now < triggerTime + GetDuration());
|
||||
}
|
||||
|
||||
bool Downtime::IsTriggered(void) const
|
||||
|
|
Loading…
Reference in New Issue