From 6fdfd4e52e7fbb1b2eed239743a61ee92a441773 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 6 Jan 2024 21:18:20 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/status.inc b/inc/status.inc index b1ca9e75..0a9cebd2 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -33,6 +33,7 @@ STATUS(){ ## REPLICATION CHECK SETUP ############################ # REPLRUN=0 + echo "WHAT: ${NM_REPL_CHECK_TIMEOUT}" [ "${NM_DISABLE_REPL_CHECK}" != "true" ] && ([ ! -f ${NM_TMPFOLDER}/.replcheck ] || [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.replcheck)) -ge $(expr ${NM_REPL_CHECK_TIMEOUT} * 60) ]) && REPLRUN=1 || REPLRUN=0 [ ${REPLRUN} -eq 1 ] && touch ${NM_TMPFOLDER}/.replcheck # if [ "${STATUS_ACTION}" == "report" ] || [ "${STATUS_ACTION}" == "repl" ] || [ "${STATUS_ACTION}" == "check" ] || [ "${STATUS_ACTION}" == "" ]; then