From 1819c77dd93ebff8ae70189a44a4d6cc1581e97f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Oct 2014 16:52:56 +0200 Subject: [PATCH] Fix a typo that would cause maxfull to be 0 sometimes. --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2