mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Check for nil return from scripts to avoid empty <script> elements
This commit is contained in:
parent
0c3e0fcc4d
commit
c5d642a340
1 changed files with 2 additions and 0 deletions
|
|
@ -294,6 +294,8 @@ do
|
|||
tab, str = r1, r2;
|
||||
elseif type(r1) == "string" then
|
||||
tab, str = nil, r1;
|
||||
elseif r1 == nil then
|
||||
return
|
||||
else
|
||||
tab, str = r1, nil;
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue