Update status.inc

This commit is contained in:
2023-11-16 08:33:06 -06:00
parent 9bceee81f6
commit b9f4b1c216

View File

@@ -14,6 +14,7 @@ STATUS(){
for NTYPE in "${NM_NODE_TYPES[@]}"; do
if [ "${ST_ACTION^^}" == "${NTYPE}" ]; then
ntypesel=${NTYPE}
ST_ACTION=""
break
fi
done
@@ -481,7 +482,7 @@ STATUS(){
## REPLICATION CHECK
########################
if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "xx" ]; then
if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then
if [ "${ST_ACTION}" != "check" ]; then
echo -e "${idsST[Bold]}"; DIVIDER
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"