Skip to content

Commit

Permalink
chore: handle ctl command return 'true'
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed May 23, 2024
1 parent b0832ec commit 1d5f3d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d5f3d7

Please sign in to comment.