diff --git a/rc.lua b/rc.lua index 23ae68c..f9f5b07 100644 --- a/rc.lua +++ b/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