From 8aa355421dba58be54ad95602d27e3112cef6232 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Sat, 8 Oct 2011 04:03:20 +0200 Subject: [PATCH] f00k seq, yeah! --- remote-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote-backup b/remote-backup index d839be1..f41eb88 100755 --- a/remote-backup +++ b/remote-backup @@ -137,7 +137,7 @@ rotateBackup() { fi # 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 if [ -d "$SNAPSHOT_RW/$NAME/daily.${backup_number}" ] then