Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-13 17:29:52 -05:00
parent a4149a5b72
commit 60e8f57a29

View File

@@ -457,7 +457,7 @@ STATUS(){
if [ "${PH_CMD}" = "" ]; then
checked=`ssh root@${nip} "cat ${REPL_CHECKS[${rcheck}]}/test.repl" | diff - ${REPL_CHECKS[${rcheck}]}/test.repl >/dev/null 2>&1`
else
checked="`${PH_CMD} \"ssh root@${nip} \"cat ${REPL_CHECKS[${rcheck}]}/test.repl\" | diff - ${REPL_CHECKS[${rcheck}]}/test.repl\"`"
checked="`${PH_CMD} \"ssh root@${nip} \"cat ${REPL_CHECKS[${rcheck}]}/test.repl\" | diff - ${REPL_CHECKS[${rcheck}]}/test.repl\" >/dev/null 2>&1`"
fi
if [ "`date +%s`" -gt "$timeout" ]; then
timeout=true