From f4ad97213e87fe2825ea8e675a4cc702bd3be393 Mon Sep 17 00:00:00 2001 From: Martin <martin.gasser@protonmail.com> Date: Mon, 20 Sep 2021 10:34:48 +0200 Subject: [PATCH] AND instead of OR --- 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 32e3be4..5631762 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 [ ! -z ${sSequenceLast} ] && [ "${sSequenceCurrent}" = "${sSequenceLast}" ]; then echo SKIP: still on sequence ${sSequenceLast} else echo -- GitLab