diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 93eca85..d438889 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -1228,7 +1228,6 @@ else | |||
1228 | while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 5") end | 1228 | while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 5") end |
1229 | 1229 | ||
1230 | local APT_args = APT.args | 1230 | local APT_args = APT.args |
1231 | local APT_logFile = APT.logFile | ||
1232 | local debians = {} | 1231 | local debians = {} |
1233 | local srvs = APT.readCmd('ls -1 results/*.lua') | 1232 | local srvs = APT.readCmd('ls -1 results/*.lua') |
1234 | for ii,l in ipairs(srvs) do | 1233 | for ii,l in ipairs(srvs) do |
@@ -1270,6 +1269,7 @@ else | |||
1270 | end | 1269 | end |
1271 | 1270 | ||
1272 | local combine = function(ip, a) | 1271 | local combine = function(ip, a) |
1272 | local APT_logFile = APT.logFile | ||
1273 | if not APT.logOpen(hst, ip) then | 1273 | if not APT.logOpen(hst, ip) then |
1274 | print('PROBLEM OPENING LOG FILE ' .. hst .. ' ' .. ip) | 1274 | print('PROBLEM OPENING LOG FILE ' .. hst .. ' ' .. ip) |
1275 | else | 1275 | else |
@@ -1284,8 +1284,8 @@ else | |||
1284 | end | 1284 | end |
1285 | APT.logPost() | 1285 | APT.logPost() |
1286 | APT.args = APT_args | 1286 | APT.args = APT_args |
1287 | APT.logFile = APT_logFile | ||
1288 | end | 1287 | end |
1288 | APT.logFile = APT_logFile | ||
1289 | combine('', baseFiles) | 1289 | combine('', baseFiles) |
1290 | for ip, a in pairs(IPfiles) do | 1290 | for ip, a in pairs(IPfiles) do |
1291 | if nil == a[1] then | 1291 | if nil == a[1] then |