Using the correct Variable name

This commit is contained in:
Philippe Caseiro 2018-04-12 17:16:59 +02:00
parent 160c18fa88
commit e87d3ccf69
1 changed files with 1 additions and 1 deletions

View File

@ -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