From 8c8e965b9767973d0263e4ff03c900e454a4d285 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 17 Nov 2022 02:42:49 +1000 Subject: Yet another attempt to stop it crashing rarely. --- apt-panopticon.lua | 4 ++-- 1 file 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 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 '-'. end end + APT.logPost() end - APT.logPost() APT.args = APT_args + APT.logFile = APT_logFile end - APT.logFile = APT_logFile combine('', baseFiles) for ip, a in pairs(IPfiles) do if nil == a[1] then -- cgit v1.1