From b9f4b1c2162f2443d58618634e91d3a432370100 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 16 Nov 2023 08:33:06 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index 27c47371..053ec735 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -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]}"