From e87d3ccf69be1e231ad0e11e88ab1bd256b2f894 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 12 Apr 2018 17:16:59 +0200 Subject: [PATCH] Using the correct Variable name --- scripts/mariadbPwd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mariadbPwd b/scripts/mariadbPwd index 9b2cb17..78b7e8d 100644 --- a/scripts/mariadbPwd +++ b/scripts/mariadbPwd @@ -6,7 +6,7 @@ cmd="mysql" options='--defaults-file=/etc/mysql/debian.cnf' -role=$(CreoleGet dbClusterRole 'Leader') +role=$(CreoleGet dbClusterPosition 'Leader') if [[ ${role} == "Leader" ]] then