Fix snapshot restore.

This commit is contained in:
Martin Wimpress 2020-03-16 02:08:18 +00:00
parent 58edab1f82
commit 9456fabe3e

View file

@ -131,7 +131,7 @@ while [ $# -gt 0 ]; do
BIOS=""
shift;;
-restore|--restore)
SNAPSHOT=1
RESTORE=1
shift;;
-snapshot|--snapshot)
SNAPSHOT=1
@ -180,4 +180,4 @@ if [ ${SNAPSHOT} -eq 1 ]; then
vm_snapshot
fi
vm_boot
vm_boot