diff --git a/apps/emqx_management/src/emqx_mgmt_cli.erl b/apps/emqx_management/src/emqx_mgmt_cli.erl index 252ac3857..77fe96182 100644 --- a/apps/emqx_management/src/emqx_mgmt_cli.erl +++ b/apps/emqx_management/src/emqx_mgmt_cli.erl @@ -116,13 +116,7 @@ mgmt(_) -> status([]) -> {InternalStatus, _ProvidedStatus} = init:get_status(), - emqx_ctl:print("Node ~p ~s is ~p~n", [node(), emqx_app:get_release(), InternalStatus]), - case lists:keysearch(?APP, 1, application:which_applications()) of - false -> - emqx_ctl:print("Application ~s is not running~n", [?APP]); - {value, {?APP, _Desc, Vsn}} -> - emqx_ctl:print("Application ~s ~s is running~n", [?APP, Vsn]) - end; + emqx_ctl:print("Node ~p ~s is ~p~n", [node(), emqx_app:get_release(), InternalStatus]); status(_) -> emqx_ctl:usage("status", "Show broker status").