mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 23:19:03 +00:00
Remove the call to sort the runlevel table. Patrick changed this code so
that it is built sorted, and also changed the structure of the table so that sorting it raises an error. Patrik noticed the error.
This commit is contained in:
@@ -952,7 +952,6 @@ local function main (hosts, scantype)
|
||||
runlevels[script.runlevel] = runlevels[script.runlevel] or {};
|
||||
insert(runlevels[script.runlevel], script);
|
||||
end
|
||||
sort(runlevels);
|
||||
|
||||
-- Yield only scripts in the given runlevel.
|
||||
local function runlevel_scripts(scripts)
|
||||
|
||||
Reference in New Issue
Block a user