Skip to content

Commit

Permalink
fix pgdump
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Mar 29, 2023
1 parent b67cea7 commit fe8603b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mkdir -p backup
# Check the backup source and run the appropriate backup client
case $BACKUP_SOURCE in
POSTGRES)
psql -tc "$PG_DB_SELECT" | while read database; do
psql -tc "$PGDBSELECT" | while read -r database; do
echo "Backing up $database"
# database is not empty
if [ -n "$database" ]; then
Expand Down

0 comments on commit fe8603b

Please sign in to comment.