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:
parent
f4af595964
commit
f6e00525db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user