mirror of
https://github.com/nmap/nmap.git
synced 2026-01-08 15:39:05 +00:00
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.
39 KiB
39 KiB