lualoader: Return status in cli_execute_unparsed properly

cli_execute was changed to return the status, cascade that to
cli_execute_unparsed.

This fixes a lot of false "Failed to execute" errors following r330620; no
failures actually occurred, but [module]_error would've then promptly
executed (and also "failed")
This commit is contained in:
Kyle Evans 2018-03-07 22:05:23 +00:00
parent f4af595964
commit f6e00525db

View File

@ -95,7 +95,7 @@ function cli_execute(...)
end
function cli_execute_unparsed(str)
cli_execute(loader.parse(str))
return cli_execute(loader.parse(str))
end
-- Module exports