From c12e4c93fb6021df5b6dcb44e4ed6ec4c7923568 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 20 Nov 2010 15:35:58 +0000 Subject: [PATCH] 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. --- nse_main.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/nse_main.lua b/nse_main.lua index 409550bde..e08bb9a1b 100644 --- a/nse_main.lua +++ b/nse_main.lua @@ -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)