mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue