From 998da3d07079e1cf064d5a1d723798dc6a769ede Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 4 Sep 2015 12:52:09 +0000 Subject: [PATCH] Fix an assertion error in ls.lua: size is a number, not a string --- nselib/ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/ls.lua b/nselib/ls.lua index eb4599274..d4887ea89 100644 --- a/nselib/ls.lua +++ b/nselib/ls.lua @@ -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)