Update status.inc
This commit is contained in:
@@ -142,10 +142,10 @@ STATUS(){
|
|||||||
for nodestatus in ${STATUSRUN_TMPFOLDER}/status-check.*.done; do
|
for nodestatus in ${STATUSRUN_TMPFOLDER}/status-check.*.done; do
|
||||||
NTS=$(grep -oP '(?<=status-check.).*?(?=.done)' <<< "${nodestatus}")
|
NTS=$(grep -oP '(?<=status-check.).*?(?=.done)' <<< "${nodestatus}")
|
||||||
if [ "${NTS}" != "*" ]; then
|
if [ "${NTS}" != "*" ]; then
|
||||||
echo -e "$(cat ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.running)"
|
# echo -e "$(cat ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.running)"
|
||||||
rm -f ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.done
|
rm -f ${STATUSRUN_TMPFOLDER}/status-check.${NTS}.done
|
||||||
((nc_count++))
|
((nc_count++))
|
||||||
# echo "${NTS} == ${nc_count} == ${nodestatus}"
|
echo "${NTS} == ${nc_count} == ${nodestatus}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
[ ${nc_count} -eq ${#ntypesel[@]} ] && completed=true
|
[ ${nc_count} -eq ${#ntypesel[@]} ] && completed=true
|
||||||
|
|||||||
Reference in New Issue
Block a user