commit 946824e473124186c8184e773ed1ebf94e59a079
parent f0f98f392dac884dd81c8a2d19efea42f8f6255b
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date: Thu, 1 Feb 2018 16:33:39 -0500
Return the return inside the exec.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ferron.lua b/ferron.lua
@@ -21,7 +21,7 @@ local exec = function(...)
if type(argval) == "table" then
for funckey, funcval in ipairs(argval) do
if type(funcval) == "function" then
- return funcval()
+ funcval()
end
end
end