forgot to fix one of the lines
This commit is contained in:
parent
010a22cac1
commit
d58dda93cd
1 changed files with 6 additions and 1 deletions
7
rc.lua
7
rc.lua
|
@ -14,7 +14,12 @@ local menubar = require('menubar')
|
|||
-- enable testing if file exists
|
||||
function ifexists(name)
|
||||
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
|
||||
|
||||
-- {{{ Error handling
|
||||
|
|
Loading…
Reference in a new issue