From cc4310b6d03ff7ce75a9513150f8cff03f9991be Mon Sep 17 00:00:00 2001 From: henri Date: Wed, 14 Sep 2011 10:03:41 +0000 Subject: [PATCH] Cosmetic fix: consistently return 'false' in the hostrule --- scripts/firewalk.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/firewalk.nse b/scripts/firewalk.nse index 9e90f684e..3b7180044 100644 --- a/scripts/firewalk.nse +++ b/scripts/firewalk.nse @@ -392,7 +392,7 @@ hostrule = function(host) stdnse.print_verbose("%s not running for lack of privileges.", SCRIPT_NAME) end nmap.registry[SCRIPT_NAME].rootfail = true - return nil; + return false end if nmap.address_family() ~= 'inet' then