diff options
| author | onefang | 2022-10-18 10:34:00 +1000 |
|---|---|---|
| committer | onefang | 2022-10-18 10:34:00 +1000 |
| commit | fee4e4e6ababe4b82eb19ccb48a493193237e8c4 (patch) | |
| tree | bb1c1d0c3bc277321a824230b3a42f103cca6f3e | |
| parent | Print the error message for not being able to open the log file, instead of t... (diff) | |
| download | apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.zip apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.tar.gz apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.tar.bz2 apt-panopticon-fee4e4e6ababe4b82eb19ccb48a493193237e8c4.tar.xz | |
Nil out a closed logfile.
| -rw-r--r-- | apt-panopticommon.lua | 1 |
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 |
| 428 | end | 429 | end |
| 429 | 430 | ||
