Update status.inc

This commit is contained in:
2024-01-11 11:20:47 -06:00
parent 7cee52fbd6
commit efca83e9a1

View File

@@ -328,7 +328,7 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${
PH_CMD="ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${!PH}"
echo "${NTYPE} Nodes ---"
for rcheck in "${!var}"; do
echo "${rcheck} folder (${NM_REPL_CHECK_LOC[${rcheck}]}/test.*.repl)"
echo "${rcheck} folder"
if [ $(${PH_CMD} ls ${NM_REPL_CHECK_LOC[${rcheck}]}/test.*.repl 2>/dev/null | wc -l) -gt 0 ]; then
for replfile in $(${PH_CMD} ${NM_REPL_CHECK_LOC[${rcheck}]}/test.*.repl); do
echo -en "${replfile} : "