mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 06:29:03 +00:00
Remove many ERROR outputs from non-debug NSE output
This commit is contained in:
@@ -100,7 +100,7 @@ action = function(host, port)
|
||||
-- most of them are "legitimate" and should not be reason to abort
|
||||
if ( not(status) ) then
|
||||
if ( r.err ) then
|
||||
return stdnse.format_output(true, "ERROR: %s", r.reason)
|
||||
return stdnse.format_output(false, r.reason)
|
||||
else
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user