From d6cbcf29eeeec3537ae8e43880272be32642ec19 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Thu, 30 Sep 2021 19:00:42 +0100 Subject: [PATCH] Don't honour --status-quo when boot macOS recovery --- quickemu | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/quickemu b/quickemu index 37e3cdc..baf2b03 100755 --- a/quickemu +++ b/quickemu @@ -280,12 +280,16 @@ function vm_boot() { fi # Has the status quo been requested? - if [ "${STATUS_QUO}" == "-snapshot" ] && [ -z "${iso}" ]; then - echo " Existing disk state will be preserved, no writes will be committed." + if [ "${STATUS_QUO}" == "-snapshot" ]; then + if [ -z "${img}" ] && [ -z "${iso}" ]; then + echo " Existing disk state will be preserved, no writes will be committed." + fi fi if [ -n "${iso}" ] && [ -e "${iso}" ]; then - echo " - Boot: ${iso}" + echo " - Boot ISO: ${iso}" + elif [ -n "${img}" ] && [ -e "${img}" ]; then + echo " - Recovery: ${img}" fi if [ -n "${fixed_iso}" ] && [ -e "${fixed_iso}" ]; then