mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Removed trailing semicolons to keep style consistent
This commit is contained in:
parent
75ea87125c
commit
0706dc1b98
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue