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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330625
@ -95,7 +95,7 @@ function cli_execute(...)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function cli_execute_unparsed(str)
|
function cli_execute_unparsed(str)
|
||||||
cli_execute(loader.parse(str))
|
return cli_execute(loader.parse(str))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Module exports
|
-- Module exports
|
||||||
|
Loading…
Reference in New Issue
Block a user