From 6105ef1116c1d1cccb89910b668f355b0539f4d1 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Sat, 23 Feb 2019 00:35:59 +0100 Subject: [PATCH] Quick fix DiscoveryServer Former-commit-id: 0dea07b53b993a82d233acec71a45f7a241a205e --- pandora_server/lib/PandoraFMS/DiscoveryServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_server/lib/PandoraFMS/DiscoveryServer.pm b/pandora_server/lib/PandoraFMS/DiscoveryServer.pm index 7557ef8320..bc4e1caa73 100644 --- a/pandora_server/lib/PandoraFMS/DiscoveryServer.pm +++ b/pandora_server/lib/PandoraFMS/DiscoveryServer.pm @@ -276,9 +276,9 @@ sub exec_recon_script ($$$) { if (-x $command) { my $exec_output = `$command $args`; - logger ($pa_config, "Execution output: \n", $exec_output); + logger($pa_config, "Execution output: \n". $exec_output, 10); } else { - logger ($pa_config, "Cannot execute recon task command $command."); + logger($pa_config, "Cannot execute recon task command $command.", 10); } # Only update the timestamp in case something went wrong. The script should set the status.