Merge pull request #1 from BernieO/patch-1

fix double closing curly bracket
This commit is contained in:
DecaTec
2017-09-24 19:29:26 +02:00
committed by GitHub

View File

@@ -128,7 +128,7 @@ if [ ${maxNrOfBackups} != 0 ]
then
nrOfBackups=$(ls -l ${backupMainDir} | grep -c ^d)
if [ ${maxNrOfBackups} > ${nrOfBackups}} ]
if [ ${maxNrOfBackups} > ${nrOfBackups} ]
then
echo "Removing old backups..."
ls -t ${backupMainDir} | tail -$(( nrOfBackups - maxNrOfBackups )) | while read dirToRemove; do