diff options
| author | onefang | 2019-11-06 16:25:44 +1000 |
|---|---|---|
| committer | onefang | 2019-11-06 16:25:44 +1000 |
| commit | 19dd34ad387b09889716323f8541f82fae24cbbc (patch) | |
| tree | 1592abec0fdfa21139f9221dac74cd921b76a6a8 | |
| parent | Don't run report generators in the background. (diff) | |
| download | apt-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-x | apt-panopticon-report-email.lua | 2 |
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 | |||
| 118 | local collate = function(host, ip, results) | 118 | local 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 |
