Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Jun 3, 2024
1 parent 2a2b3e6 commit 17c30af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/vmbackup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ for name in "${VMs[@]}"; do
# middle of the current month.
if [ $? -eq 0 ] && [ "$DAY_OF_MONTH" -eq 15 ]; then
LAST_MONTH=$(date -d "$(date +%Y-%m-1) -1 month" +%Y-%m)
LAST_MONTHS_BACKUPS_DIR=${BACKUP_DIR}/${name}/${LAST_MONTH}
LAST_MONTHS_BACKUPS_DIR=${BACKUP_DIR}/${name}/${LAST_MONTH}

if [ -d "${LAST_MONTHS_BACKUPS_DIR}" ]; then
printf "Removing backups for %s for %s" "${name}" "${LAST_MONTH}"
Expand Down

0 comments on commit 17c30af

Please sign in to comment.