mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
Removed trailing semicolons to keep style consistent
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user