1
0
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:
david
2010-11-20 15:35:58 +00:00
parent 33a6a0a49b
commit c12e4c93fb

View File

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