lib/vagrant-smartos/action/terminate_instance.rb in vagrant-smartos-0.0.1alpha vs lib/vagrant-smartos/action/terminate_instance.rb in vagrant-smartos-0.0.2pre1

- old
+ new

@@ -17,10 +17,10 @@ def call(env) vm_uuid = env[:machine].id if env[:machine].state.id != :not_created env[:ui].info(I18n.t("vagrant_smartos.terminating")) - env[:hyp].exec("vmadm destroy #{vm_uuid}") + output = env[:hyp].exec("vmadm destroy #{vm_uuid}") env[:machine].id = nil end end end end