mirror of https://github.com/Icinga/icinga2.git
Fix incorrect assignment in PluginUtility::ExecuteCommand
Coverity Bug ID: 1272344
This commit is contained in:
parent
a296147839
commit
5968622108
|
@ -177,7 +177,7 @@ void PluginUtility::ExecuteCommand(const Command::Ptr& commandObj, const Checkab
|
|||
ProcessResult pr;
|
||||
pr.PID = -1;
|
||||
pr.ExecutionStart = Utility::GetTime();
|
||||
pr.ExecutionStart = pr.ExecutionStart;
|
||||
pr.ExecutionEnd = pr.ExecutionStart;
|
||||
pr.ExitStatus = 3; /* Unknown */
|
||||
pr.Output = message;
|
||||
callback(Empty, pr);
|
||||
|
|
Loading…
Reference in New Issue