diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index 94fa4a93..4b9616a2 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -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