diff --git a/inc/status.inc b/inc/status.inc index 1b22801e..a2db2688 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -150,7 +150,7 @@ STATUS(){ NTS=$(grep -oP '(?<=status-check.).*?(?=.done)' <<< "${nodestatus}") # echo -e "$(cat ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.running)" rm -f ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.done - (($nc_count++)) + ((nc_count++)) echo "${NTS} == ${nc_count} == ${nodestatus}" done [ ${nc_count} -eq ${#ntypesel[@]} ] && completed=true || sleep 1s