Use normal check interval for services which haven't been checked yet.

Refs #5050
This commit is contained in:
Gunnar Beutner 2013-11-15 12:50:23 +01:00
parent 979df4e110
commit e2a7cb32e5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void Service::UpdateNextCheck(void)
double interval;
if (GetStateType() == StateTypeSoft)
if (GetStateType() == StateTypeSoft && GetLastCheckResult() != NULL)
interval = GetRetryInterval();
else
interval = GetCheckInterval();