Update status.inc

This commit is contained in:
2023-12-06 21:23:43 -06:00
parent 766e27864d
commit 5dda4d87a1

View File

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