mirror of
https://github.com/nmap/nmap.git
synced 2026-02-11 16:06:33 +00:00
stdnse.print_debug -> stdnse.debug1
sed -i 's/stdnse.print_debug("%s: \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
@@ -45,7 +45,7 @@ action = function( host, port )
|
||||
|
||||
local try = nmap.new_try(
|
||||
function()
|
||||
stdnse.print_debug("%s: failed", SCRIPT_NAME)
|
||||
stdnse.debug1("failed")
|
||||
socket:close()
|
||||
end
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user