From 47f6e3d046b35c209efaf391eee654e6d2c2599d Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 8 Dec 2023 17:43:22 +0100 Subject: [PATCH] sync_from_old_server.sh: fix error in case of mo MySQL database was requested for sync. --- sync_from_old_server.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sync_from_old_server.sh b/sync_from_old_server.sh index 3523385..6627361 100755 --- a/sync_from_old_server.sh +++ b/sync_from_old_server.sh @@ -422,9 +422,11 @@ if [[ "$sync_mysql_databases" = "ALL" ]]; then else echo_failed fi -else +elif [[ -n "$sync_mysql_databases" ]]; then _mysql_databases_remote="$sync_mysql_databases" _got_mysql_databases=true +else + _got_mysql_databases=false fi if $_got_mysql_databases ; then