From 7f623e31f1569b2ab29b04ecdff7bb725625fedb Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 2 Jun 2021 15:17:08 +0200
Subject: [PATCH] transfer - exit 0 on skip

---
 transfer.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/transfer.sh b/transfer.sh
index 76bad49..e22cec2 100755
--- a/transfer.sh
+++ b/transfer.sh
@@ -41,6 +41,7 @@
   typeset -i rc=0  
   if [ ! -r "${DIRFILE}" -o ! -r "${STORAGEFILE}" ]; then
     echo "SKIP backup of local files - one of the files is not readable (no error): ${DIRFILE} | ${STORAGEFILE}"
+    exit 0
   fi
 
   STORAGE_BIN=`_j_getvar ${STORAGEFILE} "bin"`
-- 
GitLab