forgot to change a read -r jaaj in read -p -r jaaj

This commit is contained in:
primardj 2024-01-24 17:23:00 +00:00
parent 5f79c47dc2
commit cff0d38d2f

View file

@ -140,8 +140,7 @@ CREATE() {
}
RESTORE() {
echo "Are you sure you want to restore the rescue? (y/N)"
read -r entry
read -p "Are you sure you want to restore the rescue? (y/N) " -r entry
if echo "$entry" | grep -q "^[yY]$"
then
cp -i "${MAIN_LOCATION}/${LOCATION}/${VMHOSTNAME}.cow.backup" "${MAIN_LOCATION}/${LOCATION}/${VMHOSTNAME}.cow"