Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 11:23:22 -06:00
parent 24216a3890
commit cf82d9ad28

View File

@@ -101,7 +101,7 @@ STATUS() {
if [ "${NCMD}" = "" ]; then
checked=`ssh root@${nip} "cat ${REPL_CHECKS[${rcheck}]}/test.repl" | diff - ${REPL_CHECKS[${rcheck}]}/test.repl`
else
checked=`ssh root@${nip} "cat ${REPL_CHECKS[${rcheck}]}/test.repl" | diff - ${NCMD} "cat ${REPL_CHECKS[${rcheck}]}/test.repl"`
${NCMD} 'checked=`ssh root@${nip} "cat ${REPL_CHECKS[${rcheck}]}/test.repl" | diff - ${REPL_CHECKS[${rcheck}]}/test.repl`'
fi
if [ "`date +%s`" -gt "$timeout" ]; then
if [ "${STATUS_CHECK_EMAIL}" != "" ]; then