Update mm-scripts.sh

This commit is contained in:
2023-07-10 22:12:32 -05:00
parent 62bb60a6b0
commit 4b7c22e445

View File

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