diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 8ea0e34c65..b0ba73edfc 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ + +2011-09-14 Sancho Lerena + + * lib/PandoraFMS/NmapParser.pm: Avoid warning messages. + 2011-09-12 Sancho Lerena * util/pandora_remote_agent.sh: New remote agent script to do customized diff --git a/pandora_server/lib/PandoraFMS/NmapParser.pm b/pandora_server/lib/PandoraFMS/NmapParser.pm index 058d3c6654..bfd6b0cf04 100644 --- a/pandora_server/lib/PandoraFMS/NmapParser.pm +++ b/pandora_server/lib/PandoraFMS/NmapParser.pm @@ -139,7 +139,7 @@ sub parsescan { "$nmap $args -v -v -v -oX " . $self->{cache_file} . " " . ( join ' ', @ips ); - `$cmd`; #remove output from STDOUT + `$cmd 2> /dev/null`; #remove output from STDOUT $self->parsefile( $self->{cache_file} ); } else {