This commit is contained in:
2024-02-20 18:34:28 -06:00
parent 2a9ef59d30
commit b5781550ac
2 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.1.90-02192024'
VERS='5.1.91-02202024'
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

@@ -772,9 +772,7 @@ RUN_COMMAND(){
DOWNLIST(){
declare -i cw; declare -i spc1; declare -i c
DOWN_LIST=`find ${NM_TMPFOLDER}/ -iname "*.down"`
IFS=$'\n'
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
unset IFS
IFS=$'\n'; read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"; unset IFS
if [ "${1}" == "report" ]; then
unset idsCL idsBG idsST
idsCL=('')
@@ -785,6 +783,7 @@ DOWNLIST(){
[ ! -f ${dli//.down/.disable} ] && DOWNLIST+=(${dli})
done
else
sss=1
DOWNLIST=(${DOWN_LIST[@]})
fi
@@ -833,6 +832,15 @@ DOWNLIST(){
DIVIDER false yellow ${dlen}
until [ "${choice^^}" = "E" ]; do
if [ "${1}" != "report" ] && [ ${sss} -ne 1 ]; then
DOWN_LIST=`find ${NM_TMPFOLDER}/ -iname "*.down"`
IFS=$'\n'; read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"; unset IFS
DOWNLIST=(${DOWN_LIST[@]})
elif [ ${sss} -eq 1 ]; then
sss=0
fi
cw=35; cw1=11; cw2=20; is=1;
for downitem in ${DOWNLIST[@]}; do
ditem=${downitem##*/}