Update mm-scripts.sh

This commit is contained in:
2023-07-10 22:15:46 -05:00
parent 4b7c22e445
commit cc2461474c

View File

@@ -1213,16 +1213,16 @@ SERVICERESTORE(){
echo -en "\n${idsCL[LightCyan]}Select a backup to restore: ${idsCL[White]}" echo -en "\n${idsCL[LightCyan]}Select a backup to restore: ${idsCL[White]}"
read restore read restore
declare -a restorefiles echo full
restorefiles[0]=full
for r in ${!rdates[@]}; do for r in ${!rdates[@]}; do
restorefiles[${r}]=${rdates[${r}]} echo ${rdates[${r}]}
[ ${r} -eq ${restore} ] && break [ ${r} -eq ${restore} ] && break
done done
echo "${restorefiles[*]}"
fi fi
} }