From 8621ce1b55517ad58bf1e15c3c79f6abff9ddd97 Mon Sep 17 00:00:00 2001 From: nickchomey <88559987+nickchomey@users.noreply.github.com> Date: Fri, 27 Jan 2023 20:48:20 -0600 Subject: [PATCH] fix typos in check-config.sh --- check-config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-config.sh b/check-config.sh index e39d6bd1..64c758f1 100755 --- a/check-config.sh +++ b/check-config.sh @@ -220,8 +220,8 @@ print_head_1 "Checking .env file values" WRONG_ENV_FILES_VALUES=0 DEBUG_ENTRYPOINT="$( get_env_value "DEBUG_ENTRYPOINT" )" -if [ "${DEBUG_ENTRYPOINT}" != "0" ] && [ "${DEBUG_ENTRYPOINT}" != "1" ] && [ "${DEBUG_ENTRYPOINT}" != "2" ] && [ "${DEBUG_ENTRYPOINT}" != "3" ] && [ "${DEBUG_ENTRYPOINT}" != "3" ]; then - log_err "Variable 'DEBUG_ENTRYPOINT' should be 0, 1 or 2. Has: ${DEBUG_ENTRYPOINT}" +if [ "${DEBUG_ENTRYPOINT}" != "0" ] && [ "${DEBUG_ENTRYPOINT}" != "1" ] && [ "${DEBUG_ENTRYPOINT}" != "2" ] && [ "${DEBUG_ENTRYPOINT}" != "3" ] && [ "${DEBUG_ENTRYPOINT}" != "4" ]; then + log_err "Variable 'DEBUG_ENTRYPOINT' should be 0, 1, 2, 3 or 4. Has: ${DEBUG_ENTRYPOINT}" RET_CODE=$(( RET_CODE + 1)) WRONG_ENV_FILES_VALUES=1 else