awful.util: fix eval
Do not need return actually. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
834a608999
commit
bf837f5d41
|
@ -87,7 +87,7 @@ end
|
|||
--- Eval Lua code.
|
||||
-- @return The return value of Lua code.
|
||||
function eval(s)
|
||||
return assert(loadstring("return " .. s))()
|
||||
return assert(loadstring(s))()
|
||||
end
|
||||
|
||||
local xml_entity_names = { ["'"] = "'", ["\""] = """, ["<"] = "<", [">"] = ">", ["&"] = "&" };
|
||||
|
|
Loading…
Reference in New Issue