fix: ignore unbound variables when sourcing .env in all backup/DR scripts
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m35s

This commit is contained in:
2026-06-07 11:14:04 +02:00
parent 3f980ad537
commit ddf6b8f6bc
5 changed files with 10 additions and 0 deletions

View File

@@ -38,7 +38,9 @@ log_error() { echo -e "[Verify ${TIMESTAMP}] ${RED}❌ ERROR: $1${NC}"; }
ENV_FILE="${PROJECT_ROOT}/.env"
if [ -f "${ENV_FILE}" ]; then
set -a
set +u
source "${ENV_FILE}"
set -u
set +a
fi