Skip to content

Commit

Permalink
Merge pull request #957 from nickchomey/patch-1
Browse files Browse the repository at this point in the history
fix typos in check-config.sh
  • Loading branch information
cytopia committed Jan 30, 2023
2 parents 10b20c0 + 8621ce1 commit 986f046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 986f046

Please sign in to comment.