Update status.inc

This commit is contained in:
2023-12-06 21:42:10 -06:00
parent c2052dae1c
commit a79c28de15

View File

@@ -172,9 +172,9 @@ STATUS(){
# if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then
if [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "" ] || ([ "${ST_ACTION}" == "report" ] && [ ${REPLRUN} -eq 1 ]); then
if [ "${ST_ACTION}" != "check" ]; then
echo -en "${idsST[Bold]}"; DIVIDER
echo -e "${idsST[Bold]}"; DIVIDER
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"
DIVIDER; echo -e "${idsST[Reset]}"
DIVIDER; echo -en "${idsST[Reset]}"
fi
for NTYPE in "${ntypesel[@]}"; do