Update status.inc
This commit is contained in:
@@ -145,7 +145,7 @@ STATUS(){
|
|||||||
done
|
done
|
||||||
nc_count=0; completed=false
|
nc_count=0; completed=false
|
||||||
until [ "${completed}" == "true" ]; do
|
until [ "${completed}" == "true" ]; do
|
||||||
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}")
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user