From c0cb0094a84eb9dede9f393e2f53e471749337ae Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Wed, 27 Oct 2021 16:06:33 +0200 Subject: [PATCH] ticket 4769 - couchdb2 - move deleted databases - fix count of dbs --- 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 c03b7f3..2e13c04 100755 --- a/plugins/localdump/couchdb2.sh +++ b/plugins/localdump/couchdb2.sh @@ -173,7 +173,7 @@ function _doBackupOfSingleInstance(){ # done | tee /tmp/couch_archive_${COUCHDB_INSTANCE}.txt echo - typeset -i iDbTotal=$( wc -l $dblist ) + typeset -i iDbTotal=$( cat $dblist | wc -l ) typeset -i iDb=0 echo -- GitLab