Removed trailing semicolons to keep style consistent

This commit is contained in:
henri 2011-05-16 08:44:29 +00:00
parent 75ea87125c
commit 0706dc1b98

View file

@ -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