chore: handle ctl command return 'true'

This commit is contained in:
zmstone 2024-05-23 08:58:31 +02:00
parent b0832ecc74
commit 1d5f3d7a36
1 changed files with 2 additions and 0 deletions

2
dev
View File

@ -506,6 +506,8 @@ ctl() {
case rpc:call('$EMQX_NODE_NAME', emqx_ctl, run_command, [[$args]]) of
ok ->
init:stop(0);
true ->
init:stop(0);
Error ->
io:format(\"~p~n\", [Error]),
init:stop(1)