Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-26 12:43:51 -05:00
parent 48803697d7
commit f3f8f4e38e

View File

@@ -457,11 +457,11 @@ STATUS(){
timeout=`date --date='2 minutes' +%s`
fi
warn_timeout=`date --date='30 secs' +%s`
echo "yes"
checked=false
until [ "${checked}" = "" ]; do
echo checking
echo "checking"
if [ "${PH_CMD}" = "" ]; then
ssh -q root@${nip} [[ -f ${REPL_CHECKS[${rcheck}]}/test.repl ]] && checked=`ssh root@${nip} "cat ${REPL_CHECKS[${rcheck}]}/test.repl" | diff - ${REPL_CHECKS[${rcheck}]}/test.repl`
else