diff --git a/lib/icinga/pluginutility.cpp b/lib/icinga/pluginutility.cpp index 41ad0fa92..84239fc9e 100644 --- a/lib/icinga/pluginutility.cpp +++ b/lib/icinga/pluginutility.cpp @@ -126,8 +126,10 @@ void PluginUtility::ExecuteCommand(const Command::Ptr& commandObj, const Checkab if (callback) { ProcessResult pr; + pr.PID = -1; pr.ExecutionStart = Utility::GetTime(); pr.ExecutionStart = pr.ExecutionStart; + pr.ExitStatus = 3; /* Unknown */ pr.Output = message; callback(Empty, pr); }