mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-05-31 08:37:58 +00:00
Fix syn error. Closes #7
This commit is contained in:
@@ -30,7 +30,7 @@ fi
|
||||
#Proces vars
|
||||
if [ "${POSTGRES_PASSWORD_FILE}" = "**None**" ]; then
|
||||
export PGPASSWORD=$POSTGRES_PASSWORD
|
||||
else if [ -r "${POSTGRES_PASSWORD_FILE}" ]; then
|
||||
elif [ -r "${POSTGRES_PASSWORD_FILE}" ]; then
|
||||
export PGPASSWORD=$(cat ${POSTGRES_PASSWORD_FILE})
|
||||
else
|
||||
echo "Missing POSTGRES_PASSWORD_FILE file."
|
||||
|
||||
Reference in New Issue
Block a user