X-Git-Url: https://git.sesse.net/?p=backup.sh;a=blobdiff_plain;f=backup.sh;fp=backup.sh;h=4ae63a364069e0968c5853ab61e47f4f1b045d31;hp=cfac60723c6084aa1fdff420c4a86b1028225051;hb=1819c77dd93ebff8ae70189a44a4d6cc1581e97f;hpb=ff16c056c6afd92eb4f0dfa08cf915da532c495c diff --git a/backup.sh b/backup.sh index cfac607..4ae63a3 100755 --- a/backup.sh +++ b/backup.sh @@ -327,7 +327,7 @@ for filesystem in $filesystems; do # Check if this box has a custom number of full backups if [ -f $confdir/maksfulle.$computer.$sfilesystem ]; then - mf=$((`cat $confdir/maksfulle.$computer`+1)) + mf=$((`cat $confdir/maksfulle.$computer.$sfilesystem`+1)) elif [ -f $confdir/maksfulle.$computer ] ; then mf=$((`cat $confdir/maksfulle.$computer`+1)) else