diff --git a/macos_okiomov.sh b/macos_okiomov.sh index 353499c..c58f6e2 100644 --- a/macos_okiomov.sh +++ b/macos_okiomov.sh @@ -98,11 +98,7 @@ fi # Finally done with dependencies. -if [ -z "${windows}" ]; then - if VBoxManage list vms | grep -q "${vmname}"; then - echo "${vmname} virtual machine already exists. Exiting." - exit -elif [ -n "$(VBoxManage showvminfo "${vmname}")" ]; then +if [ -n "$(VBoxManage showvminfo "${vmname}")" ]; then echo "${vmname} virtual machine already exists. Exiting." exit fi