aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2022-10-18 10:34:00 +1000
committeronefang2022-10-18 10:34:00 +1000
commitfee4e4e6ababe4b82eb19ccb48a493193237e8c4 (patch)
treebb1c1d0c3bc277321a824230b3a42f103cca6f3e
parentPrint the error message for not being able to open the log file, instead of t... (diff)
downloadapt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.zip
apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.tar.gz
apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.tar.bz2
apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.tar.xz
Nil out a closed logfile.
Diffstat (limited to '')
-rw-r--r--apt-panopticommon.lua1
1 files changed, 1 insertions, 0 deletions
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()
424 if nil ~= APT.logFile then 424 if nil ~= APT.logFile then
425 APT.logFile:write("</body></html> \n") 425 APT.logFile:write("</body></html> \n")
426 APT.logFile:close() 426 APT.logFile:close()
427 APT.logFile = nil
427 end 428 end
428end 429end
429 430