Skip to content

Commit

Permalink
fix blank variable when creating target
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Aug 19, 2021
1 parent f82577f commit 0782af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ if [ ! -z "$BACKUP_RETENTION_DAYS" ]; then
sleep "$BACKUP_PRUNING_LEEWAY"
if [ ! -z "$AWS_S3_BUCKET_NAME" ]; then
info "Pruning old backups from remote storage"
prune "backup-target/$bucket"
prune "backup-target/$AWS_S3_BUCKET_NAME"
fi
if [ -d "$BACKUP_ARCHIVE" ]; then
info "Pruning old backups from local archive"
Expand Down

0 comments on commit 0782af8

Please sign in to comment.