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