From 49ab39480dfac707effff100828cea2f00214f3c Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Wed, 13 Mar 2024 16:23:29 +0100
Subject: [PATCH] improve error messsage

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

diff --git a/localdump.sh b/localdump.sh
index c4e161f..12d41f4 100755
--- a/localdump.sh
+++ b/localdump.sh
@@ -516,7 +516,7 @@
         fi
 
         if [ ! -d "${BACKUP_BASEDIR}/${parService}" ]; then
-          color.echo error "ERROR: profile ${parService} has no backup yet."
+          color.echo error "ERROR: Directory does not exist '${BACKUP_BASEDIR}/${parService}'."
           exit 1
         fi
 
-- 
GitLab