1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 15:39:05 +00:00
Files
nmap/nse_main.lua
batrick aa2f54ffa3 Originally, adding the script to the array of scripts would handle the case
where the Script.new failed:

    chosen_scripts[#chosen_scripts+1] = Script.new(path);

if Script.new returns nil, then the operation is a no-op (as intended). So,
just add the script to the array. Script.new now accepts a selected_by_name
argument so we don't set it manually.
2011-06-12 01:47:36 +00:00

39 KiB