Update status.inc

This commit is contained in:
2023-12-06 09:57:44 -06:00
parent cb509c6ced
commit 1fc64216c5

View File

@@ -128,10 +128,9 @@ STATUS(){
for NTYPE in "${ntypesel[@]}"; do
completed=false
until [ "${completed}" == "true" ]; do
if [ -f ${NM_TMPFOLDER}/status-check.${NTYPE}.done ]; then
if [ -f ${STATUSRUN_TMPFOLDER}/status-check.${NTYPE}.done ]; then
completed=true
echo -e "$(cat ${STATUSRUN_TMPFOLDER}/status-check.${NTYPE}.running)"
rm -f ${NM_TMPFOLDER}/status-check.${NTYPE}.*
fi
done
done