Update status.new.inc

This commit is contained in:
2023-12-06 08:26:15 -06:00
parent 075629a50e
commit a0f432a505

View File

@@ -132,9 +132,17 @@ STATUSNEW(){
########################
for NTYPE in "${ntypesel[@]}"; do
STATUS_NODE ${NTYPE} > ${NM_TMPFOLDER}/status-check.${NTYPE}.running &
done
for NTYPE in "${ntypesel[@]}"; do
completed=false
until [ "${completed}" == "true" ]; do
if [ -f ${NM_TMPFOLDER}/status-check.${NTYPE}.done ]; then
completed=true
echo -e "$(cat ${NM_TMPFOLDER}/status-check.${NTYPE}.running)"
rm -f ${NM_TMPFOLDER}/status-check.${NTYPE}.*
if
done
done
fi