This commit is contained in:
2023-12-11 09:11:15 -06:00
parent 288a7f7e5c
commit af191cbe11
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
VERS='5.1.6-12112023'
VERS='5.1.8-12112023'
NM_BETA=false
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck '

View File

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