Remove many ERROR outputs from non-debug NSE output

This commit is contained in:
dmiller 2015-08-27 20:43:55 +00:00
parent fb5c947453
commit 7852fa3c18
137 changed files with 334 additions and 380 deletions

View file

@ -133,7 +133,7 @@ local function executeCmd(socket, app, keys)
return true
end
local function fail(err) return ("\n ERROR: %s"):format(err or "") end
local function fail(err) return stdnse.format_output(false, err) end
action = function(host, port)