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