Using the correct Variable name
This commit is contained in:
parent
160c18fa88
commit
e87d3ccf69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue