1
0
Fork 0

forgot to fix one of the lines

This commit is contained in:
Von Random 2014-08-07 16:47:20 +04:00
parent 010a22cac1
commit d58dda93cd

7
rc.lua
View file

@ -14,7 +14,12 @@ local menubar = require('menubar')
-- enable testing if file exists -- enable testing if file exists
function ifexists(name) function ifexists(name)
local f=io.open(name,'r') local f=io.open(name,'r')
if f ~= nil then io.close(f) return true else return false end if f ~= nil then
io.close(f)
return true
else
return false
end
end end
-- {{{ Error handling -- {{{ Error handling