diff --git a/scripts/finger.nse b/scripts/finger.nse index 0db1a8efd..0e0833bc2 100644 --- a/scripts/finger.nse +++ b/scripts/finger.nse @@ -38,7 +38,7 @@ action = function(host, port) status, results = socket:receive_lines(100) socket:close() - if status then + if not(status) then return results end end