aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-11-06 16:25:44 +1000
committeronefang2019-11-06 16:25:44 +1000
commit19dd34ad387b09889716323f8541f82fae24cbbc (patch)
tree1592abec0fdfa21139f9221dac74cd921b76a6a8
parentDon't run report generators in the background. (diff)
downloadapt-panopticon-19dd34ad387b09889716323f8541f82fae24cbbc.zip
apt-panopticon-19dd34ad387b09889716323f8541f82fae24cbbc.tar.gz
apt-panopticon-19dd34ad387b09889716323f8541f82fae24cbbc.tar.bz2
apt-panopticon-19dd34ad387b09889716323f8541f82fae24cbbc.tar.xz
Not being able to open lua resalts files for the output generators isn't critical.
-rwxr-xr-xapt-panopticon-report-email.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon-report-email.lua b/apt-panopticon-report-email.lua
index 2f7c8d1..5651f71 100755
--- a/apt-panopticon-report-email.lua
+++ b/apt-panopticon-report-email.lua
@@ -118,7 +118,7 @@ end
118local collate = function(host, ip, results) 118local collate = function(host, ip, results)
119 local f = "results/" .. host .. "_" .. ip .. ".lua" 119 local f = "results/" .. host .. "_" .. ip .. ".lua"
120 local rfile, e = io.open(f, "r") 120 local rfile, e = io.open(f, "r")
121 if nil == rfile then C("opening " .. f .. " file - " .. e) else 121 if nil == rfile then I("opening " .. f .. " file - " .. e) else
122 rfile:close() 122 rfile:close()
123 local rs = loadfile(f)() 123 local rs = loadfile(f)()
124 for k, v in pairs(rs) do 124 for k, v in pairs(rs) do