diff --git a/check_clientbackup.sh b/check_clientbackup.sh index 3b0e1962d87ef8e943899c668a37829783a8b5a1..095f0d2d0e2453104576f487127d162c2c49fed6 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;}' )