Fix Exception for f:close() when f==nil
pai
93cd5bd7c3
commit
b12ec25c8e
2
rc.lua
2
rc.lua
|
@ -188,10 +188,10 @@ function mail_count(filename)
|
|||
if l == nil then
|
||||
l = "?"
|
||||
end
|
||||
f:close()
|
||||
else
|
||||
l = "?"
|
||||
end
|
||||
f:close()
|
||||
return l
|
||||
end
|
||||
local mail_tmp_path = "/tmp/"..username.."-mail_loop"
|
||||
|
|
Carregando…
Referência em uma nova issue