From 3de5326a899c20707a938dca8016a643609a3687 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 25 Jan 2023 08:56:20 -0500 Subject: [PATCH] Update haos-vm-v5.sh --- vm/haos-vm-v5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/haos-vm-v5.sh b/vm/haos-vm-v5.sh index 3584dd9f..2f41df72 100644 --- a/vm/haos-vm-v5.sh +++ b/vm/haos-vm-v5.sh @@ -138,7 +138,7 @@ if [ $exitstatus = 0 ]; then echo -e "${DGN}Using HAOS Version: ${BGN}$BRANCH${C VMID=$(whiptail --inputbox "Set Virtual Machine ID" 8 58 $NEXTID --title "VIRTUAL MACHINE ID" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ -z $VMID ]; then VMID="$NEXTID"; echo -e "${DGN}Virtual Machine: ${BGN}$VMID${CL}"; - elif + else if echo "$USEDID" | egrep -q "$VMID" then echo -e "\n🚨 ${RD}ID $VMID is already in use${CL} \n"