1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 15:28:06 +02:00

Doctor: defend against undefined NGINX_ENABLED

This commit is contained in:
Shane Kilkelly 2021-05-07 15:47:53 +01:00
parent 11cc9b833f
commit 104fd1762e

View file

@ -229,7 +229,7 @@ function check_config_files() {
print_point 2 "REDIS_DATA_PATH: $REDIS_DATA_PATH"
fi
print_point 2 "NGINX_ENABLED: $NGINX_ENABLED"
print_point 2 "NGINX_ENABLED: ${NGINX_ENABLED:-null}"
if [[ "${NGINX_CONFIG_PATH:-null}" != "null" ]]; then
print_point 2 "NGINX_CONFIG_PATH: $NGINX_CONFIG_PATH"
fi