From eb4907464ea621fc0fbe9e21a5444d8adcce056c Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 12 May 2015 10:34:10 +0200 Subject: [PATCH] backup-status: Fix wrong path in size calculation When no snapshots are being used, the wrong path name has been passed to the Check_Size function. --- bin/backup-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/backup-status b/bin/backup-status index 72869ba..aa83ef9 100755 --- a/bin/backup-status +++ b/bin/backup-status @@ -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 -- 2.39.2