mirror of
https://github.com/nmap/nmap.git
synced 2026-02-08 14:36:33 +00:00
Fix an assertion error in ls.lua: size is a number, not a string
This commit is contained in:
@@ -211,7 +211,7 @@ function add_file(output, file)
|
||||
local size = get_size(info)
|
||||
if size then
|
||||
curvol["bytes"] = curvol["bytes"] + size
|
||||
info = size
|
||||
info = tostring(size)
|
||||
end
|
||||
end
|
||||
tab.add(files, i, info)
|
||||
|
||||
Reference in New Issue
Block a user