From b9f16c3f667e8b1a0c9c03ae4fee1dc37f919c97 Mon Sep 17 00:00:00 2001 From: MaxJa4 <74194322+MaxJa4@users.noreply.github.com> Date: Mon, 14 Feb 2022 16:45:37 +0100 Subject: [PATCH] Inverted truth check for GUNICORN_MEDIA --- boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.sh b/boot.sh index f8625d87..91b436f7 100644 --- a/boot.sh +++ b/boot.sh @@ -6,7 +6,7 @@ NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf echo "Checking configuration..." -if [ ! -f "$NGINX_CONF_FILE" ] && [ $GUNICORN_MEDIA -ne 1 ]; then +if [ ! -f "$NGINX_CONF_FILE" ] && [ $GUNICORN_MEDIA -eq 0 ]; then echo -e "\n[WARNING]\nNginx configuration file could not be found at the default location!" echo -e "Path: ${NGINX_CONF_FILE}\n" fi