Suppresses empty output if no credentials are found

This commit is contained in:
nnposter 2017-03-29 23:23:22 +00:00
parent 7e6146d4c5
commit 95c42025d7

View file

@ -368,5 +368,7 @@ action = function(host, port)
end
end
end
return output, stdnse.format_output(true, text_output)
if #text_output > 0 then
return output, stdnse.format_output(true, text_output)
end
end