chore: remove exclamation marks around warngings in bin/emqx
This commit is contained in:
parent
04d3385229
commit
9e1b3fb47e
6
bin/emqx
6
bin/emqx
|
@ -344,9 +344,7 @@ fi
|
||||||
# Warn the user if ulimit -n is less than 1024
|
# Warn the user if ulimit -n is less than 1024
|
||||||
ULIMIT_F=$(ulimit -n)
|
ULIMIT_F=$(ulimit -n)
|
||||||
if [ "$ULIMIT_F" -lt 1024 ]; then
|
if [ "$ULIMIT_F" -lt 1024 ]; then
|
||||||
echo "!!!!"
|
echo "WARNING: ulimit -n is ${ULIMIT_F}; 1024 is the recommended minimum."
|
||||||
echo "!!!! WARNING: ulimit -n is ${ULIMIT_F}; 1024 is the recommended minimum."
|
|
||||||
echo "!!!!"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SED_REPLACE="sed -i "
|
SED_REPLACE="sed -i "
|
||||||
|
@ -771,11 +769,9 @@ if [ -z "$COOKIE" ]; then
|
||||||
fi
|
fi
|
||||||
[ -z "$COOKIE" ] && COOKIE="$EMQX_DEFAULT_ERLANG_COOKIE"
|
[ -z "$COOKIE" ] && COOKIE="$EMQX_DEFAULT_ERLANG_COOKIE"
|
||||||
if [ $IS_BOOT_COMMAND = 'yes' ] && [ "$COOKIE" = "$EMQX_DEFAULT_ERLANG_COOKIE" ]; then
|
if [ $IS_BOOT_COMMAND = 'yes' ] && [ "$COOKIE" = "$EMQX_DEFAULT_ERLANG_COOKIE" ]; then
|
||||||
echoerr "!!!!!!"
|
|
||||||
echoerr "WARNING: Default (insecure) Erlang cookie is in use."
|
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 "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 "NOTE: Use the same config value for all nodes in the cluster."
|
||||||
echoerr "!!!!!!"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## check if OTP version has mnesia_hook feature; if not, fallback to
|
## check if OTP version has mnesia_hook feature; if not, fallback to
|
||||||
|
|
Loading…
Reference in New Issue