Skip to content

Commit

Permalink
add {} around variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsvanloef committed Jan 29, 2024
1 parent 044bb68 commit 73420e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ echo "backup created at $FILE_PATH"

if [ "${DELETE_OLD_BACKUPS}" = true ]; then
echo "removing backups older than ${OLD_BACKUP_DAYS:=30} days"
find /palworld/backups/ -mindepth 1 -maxdepth 1 -mtime "+$OLD_BACKUP_DAYS" -print -delete
find /palworld/backups/ -mindepth 1 -maxdepth 1 -mtime "+${OLD_BACKUP_DAYS}" -print -delete
fi

0 comments on commit 73420e9

Please sign in to comment.