diff options
Diffstat (limited to '')
-rw-r--r-- | apt-panopticommon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index e380e75..9fa8c78 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -407,7 +407,7 @@ APT.logOpen = function(host, a2, a3) | |||
407 | local name = APT.logName(host, a2, a3)[1] | 407 | local name = APT.logName(host, a2, a3)[1] |
408 | if APT.checkFile(name) then return false end | 408 | if APT.checkFile(name) then return false end |
409 | APT.logFile, e = io.open(name, "a+") | 409 | APT.logFile, e = io.open(name, "a+") |
410 | if nil == APT.logFile then C('opening log file (' .. name .. ') - ' .. e); return false end | 410 | if nil == APT.logFile then print('CRITICAL - opening log file (' .. name .. ') - ' .. e); return false end |
411 | if nil ~= APT.logFile then | 411 | if nil ~= APT.logFile then |
412 | APT.logFile:write("<html><head>\n") | 412 | APT.logFile:write("<html><head>\n") |
413 | APT.logFile:write("</head><body bgcolor='black' text='white' alink='red' link='aqua' vlink='fuchsia'>\n") | 413 | APT.logFile:write("</head><body bgcolor='black' text='white' alink='red' link='aqua' vlink='fuchsia'>\n") |