Fixed typo in Rotate function

This commit is contained in:
deajan 2013-06-24 16:06:56 +02:00
parent 3835dfc0ec
commit 6bddcea759
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
###### Remote (or local) backup script for files & databases ###### Remote (or local) backup script for files & databases
###### (L) 2013 by Ozy de Jong (www.badministrateur.com) ###### (L) 2013 by Ozy de Jong (www.badministrateur.com)
OBACKUP_VERSION=1.83 OBACKUP_VERSION=1.84
OBACKUP_BUILD=2306201301 OBACKUP_BUILD=2306201301
DEBUG=no DEBUG=no
@ -917,7 +917,7 @@ function RotateBackups
then then
cp -R "$1/$backup" "$1/$backup.obackup.1" cp -R "$1/$backup" "$1/$backup.obackup.1"
else else
mv "$1/backup" "$1/$backup.obackup.1" mv "$1/$backup" "$1/$backup.obackup.1"
fi fi
done done
} }