From 83e10e61ef80beeba550ab7aae75e9db1cef4a77 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Tue, 13 Feb 2024 14:58:38 +0100
Subject: [PATCH] remove password in restore menu

---
 restore.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/restore.sh b/restore.sh
index 3b1ce4d..24e1f42 100755
--- a/restore.sh
+++ b/restore.sh
@@ -257,7 +257,7 @@ function doRestore(){
     # echo
     echo " R - start restore with $STORAGE_BIN"
     echo
-    echo "     restore from         : $STORAGE_TARGETPATH"
+    echo "     restore from         : $STORAGE_TARGETPATH" | sed 's#:[^:]*@#:**********@#'
     echo "     restore to           : $( color cmd ; echo -n $RESTORE_TARGETPATH; color reset)"
     echo -n "                            "
     if [ -n "$RESTORE_TARGETPATH" ]; then
-- 
GitLab