From fee4e4e6ababe4b82eb19ccb48a493193237e8c4 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 18 Oct 2022 10:34:00 +1000 Subject: Nil out a closed logfile. --- apt-panopticommon.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 9fa8c78..da1fc3d 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -424,6 +424,7 @@ APT.logPost = function() if nil ~= APT.logFile then APT.logFile:write(" \n") APT.logFile:close() + APT.logFile = nil end end -- cgit v1.1