]> arthur.barton.de Git - backup-script.git/commitdiff
backup-status: Fix wrong path in size calculation
authorAlexander Barton <alex@barton.de>
Tue, 12 May 2015 08:34:10 +0000 (10:34 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 12 May 2015 08:34:10 +0000 (10:34 +0200)
When no snapshots are being used, the wrong path name has been
passed to the Check_Size function.

bin/backup-status

index 72869ba67baaab593b329ede9ecb22741c4cbc1e..aa83ef9baa650d813f1e78d105c512dfd0679032 100755 (executable)
@@ -127,7 +127,7 @@ for f in $sys; do
                done
        else
                # Timestamp and result code
-               Check_Size "$s"
+               Check_Size "$target"
                Check_Stamp "$target/.stamp"
                snapshots=$snapshots+1
        fi