From 9e1b3fb47e548681af2edac26f0b8a8a7da7b384 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Wed, 7 Dec 2022 14:04:25 +0100 Subject: [PATCH] chore: remove exclamation marks around warngings in bin/emqx --- bin/emqx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bin/emqx b/bin/emqx index 9d39477f1..45f1b52ad 100755 --- a/bin/emqx +++ b/bin/emqx @@ -344,9 +344,7 @@ fi # Warn the user if ulimit -n is less than 1024 ULIMIT_F=$(ulimit -n) if [ "$ULIMIT_F" -lt 1024 ]; then - echo "!!!!" - echo "!!!! WARNING: ulimit -n is ${ULIMIT_F}; 1024 is the recommended minimum." - echo "!!!!" + echo "WARNING: ulimit -n is ${ULIMIT_F}; 1024 is the recommended minimum." fi SED_REPLACE="sed -i " @@ -771,11 +769,9 @@ if [ -z "$COOKIE" ]; then fi [ -z "$COOKIE" ] && COOKIE="$EMQX_DEFAULT_ERLANG_COOKIE" if [ $IS_BOOT_COMMAND = 'yes' ] && [ "$COOKIE" = "$EMQX_DEFAULT_ERLANG_COOKIE" ]; then - echoerr "!!!!!!" echoerr "WARNING: Default (insecure) Erlang cookie is in use." echoerr "WARNING: Configure node.cookie in $EMQX_ETC_DIR/emqx.conf or override from environment variable EMQX_NODE__COOKIE" echoerr "NOTE: Use the same config value for all nodes in the cluster." - echoerr "!!!!!!" fi ## check if OTP version has mnesia_hook feature; if not, fallback to