mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
parent
6f2ea6bc08
commit
5e53b771fa
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user