mirror of https://github.com/Icinga/icinga2.git
parent
6f2ea6bc08
commit
5e53b771fa
|
@ -126,8 +126,10 @@ void PluginUtility::ExecuteCommand(const Command::Ptr& commandObj, const Checkab
|
||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
ProcessResult pr;
|
ProcessResult pr;
|
||||||
|
pr.PID = -1;
|
||||||
pr.ExecutionStart = Utility::GetTime();
|
pr.ExecutionStart = Utility::GetTime();
|
||||||
pr.ExecutionStart = pr.ExecutionStart;
|
pr.ExecutionStart = pr.ExecutionStart;
|
||||||
|
pr.ExitStatus = 3; /* Unknown */
|
||||||
pr.Output = message;
|
pr.Output = message;
|
||||||
callback(Empty, pr);
|
callback(Empty, pr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue