From 495caa664a9b2093c5e59a6d12d992ad756626c9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 23 Jan 2013 16:07:55 +0100 Subject: [PATCH] Fixed ExternalCommand::ScheduleHostSvcChecks(). --- lib/icinga/externalcommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/icinga/externalcommand.cpp b/lib/icinga/externalcommand.cpp index 86e50c85f..a4edf3745 100644 --- a/lib/icinga/externalcommand.cpp +++ b/lib/icinga/externalcommand.cpp @@ -206,8 +206,8 @@ void ExternalCommand::ScheduleHostSvcChecks(double time, const vector& a if (planned_check > service->GetNextCheck()) { Logger::Write(LogInformation, "icinga", "Ignoring reschedule request for service '" + - arguments[1] + "' (next check is already sooner than requested check time)"); - return; + service->GetName() + "' (next check is already sooner than requested check time)"); + continue; } Logger::Write(LogInformation, "icinga", "Rescheduling next check for service '" + service->GetName() + "'"); -- 2.40.0