diff --git a/scripts/firewalk.nse b/scripts/firewalk.nse index c0dd27d95..a295335af 100644 --- a/scripts/firewalk.nse +++ b/scripts/firewalk.nse @@ -398,11 +398,11 @@ end --- host rule, check for requirements before to launch the script hostrule = function(host) if not nmap.is_privileged() then - nmap.registry[SCRIPT_NAME] = nmap.registry[SCRIPT_NAME] or {}; + nmap.registry[SCRIPT_NAME] = nmap.registry[SCRIPT_NAME] or {} if not nmap.registry[SCRIPT_NAME].rootfail then - stdnse.print_verbose("%s not running for lack of privileges.", SCRIPT_NAME); + stdnse.print_verbose("%s not running for lack of privileges.", SCRIPT_NAME) end - nmap.registry[SCRIPT_NAME].rootfail = true; + nmap.registry[SCRIPT_NAME].rootfail = true return nil; end