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

awesome-3.5
Kolan Sh 2014-09-18 10:28:43 +04:00
부모 93cd5bd7c3
커밋 b12ec25c8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

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"