diff --git a/bin/emqx b/bin/emqx index 1f2e21350..53b906d32 100755 --- a/bin/emqx +++ b/bin/emqx @@ -278,18 +278,20 @@ if [ -z "$NAME_ARG" ]; then NODENAME="${EMQX_NODE_NAME:-}" # compatible with docker entrypoint [ -z "$NODENAME" ] && [ -n "$EMQX_NAME" ] && [ -n "$EMQX_HOST" ] && NODENAME="${EMQX_NAME}@${EMQX_HOST}" - if [ -z "$NODENAME" ] && [ "$IS_BOOT_COMMAND" = 'no' ]; then - # for non-boot commands, inspect vm.