From 0381a54156746c7d0e919ac6e855c41eb8573604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 23 Feb 2014 00:48:02 +0100 Subject: [PATCH] Remove VM files when clone failed --- qubesmanager/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 120e978..15a3d42 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -1444,6 +1444,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): except Exception as ex: if dst_vm: self.qvm_collection.pop(dst_vm.qid) + dst_vm.remove_from_disk() self.qvm_collection.unlock_db() thread_monitor.set_error_msg(str(ex)) thread_monitor.set_finished()