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="" BIOS=""
shift;; shift;;
-restore|--restore) -restore|--restore)
SNAPSHOT=1 RESTORE=1
shift;; shift;;
-snapshot|--snapshot) -snapshot|--snapshot)
SNAPSHOT=1 SNAPSHOT=1
@ -180,4 +180,4 @@ if [ ${SNAPSHOT} -eq 1 ]; then
vm_snapshot vm_snapshot
fi fi
vm_boot vm_boot