From 124192efbf2301f5527979017a74d26e09eb4a0d Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Sun, 29 May 2022 19:07:22 +0200 Subject: [PATCH] bufix in example (wrong quotes) --- bash/sync-conf-example.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bash/sync-conf-example.sh b/bash/sync-conf-example.sh index 5f6fdd9..340ca2f 100644 --- a/bash/sync-conf-example.sh +++ b/bash/sync-conf-example.sh @@ -60,7 +60,8 @@ beforesync() { exit 1 fi rm -f "$datadir/$FILTERNAME" - if ! databases=( "$(mysql -sN -u root -e "SHOW DATABASES;")" ); then + # shellcheck disable=2207 + if ! databases=( $(mysql -sN -u root -e "SHOW DATABASES;") ); then log -s "cannot get maria databases list" exit 1 fi