aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon-report-email-web.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua
index 3304fb2..f69ffcd 100755
--- a/apt-panopticon-report-email-web.lua
+++ b/apt-panopticon-report-email-web.lua
@@ -438,7 +438,7 @@ if nil == web then C("opening mirrors file - " .. e) else
438 if APT.checkFile('rrd/' .. k .. '/Speed/Speed.rrd') then 438 if APT.checkFile('rrd/' .. k .. '/Speed/Speed.rrd') then
439 local start, step, names, data = APT.rrd.fetch('rrd/' .. k .. '/Speed/Speed.rrd', 'LAST', '-a', '-r', '10m', '-s', '-1w') 439 local start, step, names, data = APT.rrd.fetch('rrd/' .. k .. '/Speed/Speed.rrd', 'LAST', '-a', '-r', '10m', '-s', '-1w')
440 local count, up, down, unknown = 0, 0, 0, 0 440 local count, up, down, unknown = 0, 0, 0, 0
441 for i,dp in ipairs(data) do 441 for i, dp in ipairs(data) do
442 for j,v in ipairs(dp) do 442 for j,v in ipairs(dp) do
443 if 'max' == names[j] then 443 if 'max' == names[j] then
444 if 'nan' == tostring(v) then 444 if 'nan' == tostring(v) then