From f12daff657b22217a2f9cd6c57be75ed883e988a Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Wed, 28 Aug 2024 17:15:52 +0200
Subject: [PATCH] add typeset for deleted counters

---
 check_clientbackup.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/check_clientbackup.sh b/check_clientbackup.sh
index 3b0e196..095f0d2 100755
--- a/check_clientbackup.sh
+++ b/check_clientbackup.sh
@@ -158,6 +158,7 @@ else
 
       # This is faster andd doesn't need comparison of snapshots in output
       # and works with initial backups too
+      typeswet -i iModFDelete=0 iModDDelete=0
       iModFNew=$(    cat $logfile | grep "^Files:.*unmodified" | awk '{sum+=$2;} END {print sum;}' )
       iModFChange=$( cat $logfile | grep "^Files:.*unmodified" | awk '{sum+=$4;} END {print sum;}' )
       iModFNone=$(   cat $logfile | grep "^Files:.*unmodified" | awk '{sum+=$6;} END {print sum;}' )
-- 
GitLab