From fe730e69eb2b14d2d3db0e655375fc0e1dc78565 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Mon, 20 Sep 2021 13:45:44 +0000
Subject: [PATCH] Update plugins/localdump/couchdb2.sh

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

diff --git a/plugins/localdump/couchdb2.sh b/plugins/localdump/couchdb2.sh
index 5631762..ff678b9 100755
--- a/plugins/localdump/couchdb2.sh
+++ b/plugins/localdump/couchdb2.sh
@@ -167,7 +167,7 @@ function _doBackupOfSingleInstance(){
     # echo
     # echo "update_seq --+-- current [${sSequenceCurrent}]" 
     # echo "             +-- backup  [${sSequenceLast}]"
-    if [ ! -z ${sSequenceLast} ] && [ "${sSequenceCurrent}" = "${sSequenceLast}" ]; then
+    if [ "${sSequenceCurrent}" = "${sSequenceLast}" ]; then
       echo SKIP: still on sequence ${sSequenceLast}
     else
       echo
-- 
GitLab