improve smb share size

This commit is contained in:
2023-05-11 12:09:05 +02:00
parent 08187df3a8
commit c85c175416
2 changed files with 11 additions and 10 deletions

View File

@ -43,13 +43,14 @@ action = function(host)
-- Get more information on each share
for i = 1, #shares, 1 do
local share = shares[i]
local status, result = get_share_info(host, share)
response[share] = result
if (share ~= nil) then
local status, result = get_share_info(host, share)
if (status) then
response[share] = result
end
end
end
--table.sort(response)
return response
end