Skip to content

Commit

Permalink
fix typo in variable preventing weekly backups being created
Browse files Browse the repository at this point in the history
  • Loading branch information
fukawi2 committed Apr 21, 2015
1 parent 85f6d2f commit 284c370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgsql-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ declare -u write_monthly write_weekly write_daily
if [[ $DOM == "01" ]] ; then
# Monthly Backup
write_monthly='yes'
elif [[ $DNOW == $DOWEEKLY ]] ; then
elif [[ $DNOW == $CONFIG_DOWEEKLY ]] ; then
# Weekly Backup
write_weekly='yes'
else
Expand Down

0 comments on commit 284c370

Please sign in to comment.