mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 09:29:01 +00:00
Ensure oops errors return a string. Fixes #2500
This commit is contained in:
@@ -45,6 +45,8 @@ local Oops = {
|
||||
-- Show just the top error
|
||||
return banner .. ": " .. self[1]
|
||||
end
|
||||
-- By default, no string output shown.
|
||||
return ""
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user