Просмотр исходного кода

chore: remove exclamation marks around warngings in bin/emqx

Ivan Dyachkov 3 лет назад
Родитель
Сommit
9e1b3fb47e
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      bin/emqx

+ 1 - 5
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