From 1626f2fed826350bd136e1886698615b4e91ca92 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Dec 2023 19:18:59 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 21784217..afc9faf5 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -23,7 +23,7 @@ STATUS(){ [ ! -f ${NM_TMPFOLDER}/.replcheck ] || [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.replcheck)) -ge 300 ] && REPLRUN=1 || REPLRUN=0 # if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then - if [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "all" ] || [ ${REPLRUN} -eq 1 ]; then + if [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "" ] || [ ${REPLRUN} -eq 1 ]; then if [ "${ST_ACTION}" != "check" ]; then echo -en "${idsCL[LightCyan]}Setting up replication checks ... ${idsCL[Default]}" fi @@ -140,7 +140,7 @@ STATUS(){ ######################## # if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then - if [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "all" ] || [ ${REPLRUN} -eq 1 ]; then + if [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "" ] || [ ${REPLRUN} -eq 1 ]; 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]}"