add condition to check if agent interval token should be updated in massive operations based on previous result

This commit is contained in:
alejandro-campos 2019-07-15 11:53:25 +02:00
parent eb831dbbcd
commit 95254341ce
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ if ($update_agents) {
}
// Update the configuration files.
if ($old_interval_value != $values['intervalo']) {
if ($result && ($old_interval_value != $values['intervalo'])) {
enterprise_hook(
'config_agents_update_config_token',
[