awful.util: fix wrong variable

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-30 17:07:25 +02:00
parent c3775199b0
commit da2f473386
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ end
-- @return A function if everything is alright, a string with the error
-- otherwise.
function checkfile(path)
local f, e = loadfile(s)
local f, e = loadfile(path)
-- Return function if function, otherwise return error.
if f then return f end
return e