f00k seq, yeah!

This commit is contained in:
Vincent Riquer 2011-10-08 04:03:20 +02:00
parent caa179efa4
commit 8aa355421d

View File

@ -137,7 +137,7 @@ rotateBackup() {
fi fi
# step 2: shift the snapshots(s) back by one, if they exist # step 2: shift the snapshots(s) back by one, if they exist
for backup_number in $(seq $((${MAX_ROTATE}-1)) -1 0) for backup_number in {$((${MAX_ROTATE}-1))..0}
do do
if [ -d "$SNAPSHOT_RW/$NAME/daily.${backup_number}" ] if [ -d "$SNAPSHOT_RW/$NAME/daily.${backup_number}" ]
then then