1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 21:09:00 +00:00

Fixed errors found by nse_check_globals.

This commit is contained in:
perdo
2012-06-06 22:23:02 +00:00
parent 14dc780226
commit 5ac6c7d64a
109 changed files with 196 additions and 128 deletions

View File

@@ -91,6 +91,7 @@ action = function( host, port )
status, data = helper:Login(user, pass)
if ( not(status) ) then return stdnse.format_output(status, data) end
local databases
status, databases = helper:GetDatabases()
if ( not(status) ) then
return " \n ERROR: Failed to retrieve a list of databases"