forgot to change a read -r jaaj in read -p -r jaaj
This commit is contained in:
parent
5f79c47dc2
commit
cff0d38d2f
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue