This commit is contained in:
2024-05-09 09:13:05 -05:00
parent 47761c99d2
commit cebd764515
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.1.106-04242024'
VERS='5.1.108-05092024'
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 offsite-staticroute-fix '

View File

@@ -863,7 +863,7 @@ DOWNLIST(){
until [ "${choice^^}" = "E" ]; do
if [ "${1}" != "report" ] && [ ${sss} -ne 1 ]; then
DOWN_LIST=`find ${NM_TMPFOLDER}/ -iname "*.down"`
DOWN_LIST=`find ${NM_TMPFOLDER}/ -maxdepth 1 -iname "*.down"`
IFS=$'\n'; read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"; unset IFS
DOWNLIST=(${DOWN_LIST[@]})
elif [ ${sss} -eq 1 ]; then
@@ -1258,7 +1258,7 @@ GUI(){
dl|downlist)
if [ "${2}" = "report" ]; then
if [ "$(find ${NM_FOLDER} -name '*.down')" != "" ]; then
if [ "$(find ${NM_FOLDER} -maxdepth 1 -name '*.down')" != "" ]; then
rm -f ${NM_LOGFOLDER}/status-downlist.lastrun
DOWNLIST report >> ${NM_LOGFOLDER}/status-downlist.lastrun
STATUSLOG="$(cat ${NM_LOGFOLDER}/status-downlist.lastrun)"