Browse Source

Fix Exception for f:close() when f==nil

awesome-3.5
Kolan Sh 5 years ago
parent
commit
b12ec25c8e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rc.lua

+ 1
- 1
rc.lua View File

@@ -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"


Loading…
Cancel
Save