diff --git a/scripts/http-default-accounts.nse b/scripts/http-default-accounts.nse index 9fa8d83a8..68795cbd7 100644 --- a/scripts/http-default-accounts.nse +++ b/scripts/http-default-accounts.nse @@ -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