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