From d58dda93cd6ddef4ea147e468c1101b9cf86eeaa Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 7 Aug 2014 16:47:20 +0400 Subject: [PATCH] forgot to fix one of the lines --- rc.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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