From a24ba0fcce0a4c898321b1b36d1aa8215524da5f Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Mon, 7 Mar 2022 16:54:19 +0100
Subject: [PATCH] update scan for results in transfer

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

diff --git a/check_clientbackup b/check_clientbackup
index 27c4177..2ba7480 100755
--- a/check_clientbackup
+++ b/check_clientbackup
@@ -9,6 +9,7 @@
 # 2020-03-05  v1.2  <axel.hahn@iml.unibe.ch> switch to ph.* helper functions
 # 2020-04-04  v1.3  <axel.hahn@iml.unibe.ch> set status unknown if never executed
 # 2022-02-17  v1.4  <axel.hahn@iml.unibe.ch> no tmpfile; show more output to see backed up dirs
+# 2022-03-07  v1.5  <axel.hahn@iml.unibe.ch> update scan for results in transfer
 # ======================================================================
 
 . $( dirname $0 )/inc_pluginfunctions
@@ -43,7 +44,7 @@ echo "--- localdump:"
 echo "$result" | grep -v "STATUS" | cut -f 2- -d ":" | grep "\ backup\ \["
 echo
 echo "--- transfer:"
-echo "$result" | grep "DIR\ [A-Z]*\ /"
+echo "$result" | grep "__[A-Z][A-Z]*__\ "
 
 
 ph.exit
-- 
GitLab