Update status.inc

This commit is contained in:
2023-12-06 21:22:32 -06:00
parent 871de1f97b
commit 766e27864d

View File

@@ -141,10 +141,10 @@ STATUS(){
for nodestatus in ${STATUSRUN_TMPFOLDER}/status-check.*.done; do
NTS=$(grep -oP '(?<=status-check.).*?(?=.done)' <<< "${nodestatus}")
if [ "${NTS}" != "*" ]; then
# echo -e "$(cat ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.running)"
echo "$(cat ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.running)"
rm -f ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.done
((nc_count++))
echo "${NTS} == ${nc_count} == ${nodestatus}"
# echo "${NTS} == ${nc_count} == ${nodestatus}"
fi
done
[ ${nc_count} -eq ${#ntypesel[@]} ] && completed=true