aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2022-11-17 02:42:49 +1000
committeronefang2022-11-17 02:42:49 +1000
commit8c8e965b9767973d0263e4ff03c900e454a4d285 (patch)
tree54c5d326da52adaff7a7afaef65213a5c9701d4d
parentYet another attempt to sort out these log file crashes. (diff)
downloadapt-panopticon-8c8e965b9767973d0263e4ff03c900e454a4d285.zip
apt-panopticon-8c8e965b9767973d0263e4ff03c900e454a4d285.tar.gz
apt-panopticon-8c8e965b9767973d0263e4ff03c900e454a4d285.tar.bz2
apt-panopticon-8c8e965b9767973d0263e4ff03c900e454a4d285.tar.xz
Yet another attempt to stop it crashing rarely.
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index d438889..0f260bd 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -1281,11 +1281,11 @@ else
1281 if ln:match('^' .. os.date('!%Y%-%m%-%d ') .. '.*$') then APT.logFile:write(ln .. '\n') end -- %F isn't good enough, coz we have to escape the '-'. 1281 if ln:match('^' .. os.date('!%Y%-%m%-%d ') .. '.*$') then APT.logFile:write(ln .. '\n') end -- %F isn't good enough, coz we have to escape the '-'.
1282 end 1282 end
1283 end 1283 end
1284 APT.logPost()
1284 end 1285 end
1285 APT.logPost()
1286 APT.args = APT_args 1286 APT.args = APT_args
1287 APT.logFile = APT_logFile
1287 end 1288 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