mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
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…
x
Reference in New Issue
Block a user