2011-09-14 Sancho Lerena <slerena@artica.es>

* lib/PandoraFMS/NmapParser.pm: Avoid warning messages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2011-09-14 10:55:16 +00:00
parent 3b3bc825de
commit 17bef2a9dd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-14 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/NmapParser.pm: Avoid warning messages.
2011-09-12 Sancho Lerena <slerena@artica.es>
* util/pandora_remote_agent.sh: New remote agent script to do customized

View File

@ -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 {