diff --git a/inc/status.inc b/inc/status.inc index fc05420a..b0ac2e85 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -924,6 +924,11 @@ REPLSTART(){ skip=1 else PH=${NODETYPE}_HOSTS[1] + if [ -f ${NM_TMPFOLDER}/${!PH}.disable ] || [ -f ${NM_TMPFOLDER}/${!PH}.down ]; then + skip=1 + rm -f ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${!PH}.running + touch ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${!PH}.skip + fi fi fi echo "HERE2: ${skip} - ${!PH}"