Update mm-scripts.sh

This commit is contained in:
2023-07-10 21:09:49 -05:00
parent a73edb7461
commit f1aa17d3f9

View File

@@ -1170,7 +1170,8 @@ SERVICERESTORE(){
if [ "${srvc}" == "" ]; then
echo
b=1; declare -a bsrvcs
for bsrvc in ${BACKUPDIR}/*/ ; do
for bsrvc in ${BACKUPDIR}*/ ; do
bsrvc=${bsrvc##*/}
bsrvcs[${b}]=${bsrvc}
[ $b -lt 10 ] && db=" $f" || db=$b
echo -e "[${idsCL[LightCyan]}${db}${idsCL[Default]}]${idsCL[White]} ${bsrvc}${idsCL[Default]}"