Added log message in case of agent plugin failure
This commit is contained in:
parent
a1144ce7ab
commit
d3c6a3e7dc
|
@ -3749,6 +3749,7 @@ sub module_plugin ($) {
|
|||
|
||||
# Do not save the output if there was an error
|
||||
if ($? != 0) {
|
||||
log_message ('error', "plugin execution '". $command ."' exited with error code " . $?);
|
||||
return ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue