chore: ctl command run may return 'true'

This commit is contained in:
zmstone 2024-05-16 13:30:38 +02:00
parent c6ee37bacd
commit c3bc3cc514
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)