From 8f5d684877deb06997a5dd35431615f12f9ebc2f Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 10 Aug 2022 13:30:00 +0200
Subject: [PATCH] check clientbackup: mask the dot for divider

---
 check_clientbackup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check_clientbackup b/check_clientbackup
index 125d3c1..753d0f6 100755
--- a/check_clientbackup
+++ b/check_clientbackup
@@ -53,7 +53,7 @@ for dbtype in $( echo "$result" | grep -o '__DB__[a-z][a-z0-9]*' | sort -u )
 do
         echo "$result" | grep "$dbtype\ backup" >/dev/null \
                 && echo --- local dumps "${dbtype//__DB__/}" \
-                && echo "$result" | grep "$dbtype" | grep -v ".log" \
+                && echo "$result" | grep "$dbtype" | grep -v "\.log" \
                 && echo
 done
 
-- 
GitLab