mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
Cosmetic fix: consistently return 'false' in the hostrule
This commit is contained in:
@@ -392,7 +392,7 @@ hostrule = function(host)
|
|||||||
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
|
end
|
||||||
nmap.registry[SCRIPT_NAME].rootfail = true
|
nmap.registry[SCRIPT_NAME].rootfail = true
|
||||||
return nil;
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
if nmap.address_family() ~= 'inet' then
|
if nmap.address_family() ~= 'inet' then
|
||||||
|
|||||||
Reference in New Issue
Block a user