On 11/17/2014 04:02 AM, Giuseppe Scrivano wrote:
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1164691 Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx> --- virtManager/engine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/virtManager/engine.py b/virtManager/engine.py index 4a9799d..16c54ab 100644 --- a/virtManager/engine.py +++ b/virtManager/engine.py @@ -904,6 +904,7 @@ class vmmEngine(vmmGObject): if not vm: src.err.show_err("%s does not have VM '%s'" % (uri, clistr), modal=True) + self.show_manager() return self._show_vm_helper(src, uri, vm, page, True)
Actually I don't like this. If the user explicitly requests a VM on the command line, and the VM doesn't exist, virt-manager should fail to start IMO
But it sounds like some fix is needed since the app doesn't correctly exit, probably just replace show_manager() with app_exit() or whatever the function is called
- Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list