Using the correct Variable name

This commit is contained in:
Philippe Caseiro 2018-04-12 17:16:59 +02:00
parent 160c18fa88
commit e87d3ccf69

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