From 31df60631d9b8398f60ccd080707e1b2981cc0ac Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 25 Aug 2022 14:55:31 -0400 Subject: [PATCH] Update haos_vm.sh --- vm/haos_vm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vm/haos_vm.sh b/vm/haos_vm.sh index 9acaeb70..40a34f64 100644 --- a/vm/haos_vm.sh +++ b/vm/haos_vm.sh @@ -49,8 +49,9 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null if [ `pveversion | grep "pve-manager/7" | wc -l` -eq 1 ]; then echo -e "${YW}This script is for Proxmox Virtual Environment 6.xx${CL}" - echo -e "Continuing..." - sleep 3 + echo "Exiting..." + sleep 3 + exit fi if (whiptail --title "HOME ASSISTANT OS VM" --yesno "This will create a New Home Assistant OS VM. Proceed?" 10 58); then echo "User selected Yes"