mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 08:59:01 +00:00
Fix type comparisons to library names. Closes #1158
This commit is contained in:
@@ -100,7 +100,7 @@ local function parse_args()
|
||||
-- An empty string for an export name indicates to the server that
|
||||
-- we wish to attach to the default export.
|
||||
arg = {}
|
||||
elseif type(arg) ~= table then
|
||||
elseif type(arg) ~= 'table' then
|
||||
arg = {arg}
|
||||
end
|
||||
args.export_name = arg
|
||||
|
||||
Reference in New Issue
Block a user