Update is_primary.sh
This commit is contained in:
@@ -35,7 +35,7 @@ EOF
|
|||||||
|
|
||||||
if [ "$dbrole" == "PRIMARY" ]
|
if [ "$dbrole" == "PRIMARY" ]
|
||||||
then
|
then
|
||||||
return true
|
return 1
|
||||||
else
|
else
|
||||||
return false
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user