From 5802e80041da774d6466daaab233a4ccc4c7421e Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 16 Jun 2021 17:01:05 +0200
Subject: [PATCH] add param backupstatus

---
 storage_helper.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage_helper.sh b/storage_helper.sh
index a0f853f..179ac38 100755
--- a/storage_helper.sh
+++ b/storage_helper.sh
@@ -236,10 +236,10 @@
             test $iduration -lt 0 && sduration="RUNNING"
 
             # output
-            printf "$tbl" $myserver "$tstart" "${tend}" "${sduration}" "${iagehours}"
+            printf "$tbl" $myserver "$tstart" "${tend}" "${sduration}" "${statusAge}${iagehours}$(color reset)"
         done
         echo
-        echo "total : $( _getLoggedServers ) servers"
+        echo "total : $( _getLoggedServers | wc -l ) servers"
         echo "errors: $ierrors"
         echo
         echo "rc=$ierrors"
-- 
GitLab