mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Ensure oops errors return a string. Fixes #2500
This commit is contained in:
parent
eed7b890c2
commit
050da3c1b7
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ local Oops = {
|
|||
-- Show just the top error
|
||||
return banner .. ": " .. self[1]
|
||||
end
|
||||
-- By default, no string output shown.
|
||||
return ""
|
||||
end,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue