Re: [libvirt] [PATCH] virsh: Report error when explicit connection fails

2016-08-01 Thread Ján Tomko
On Fri, Jul 29, 2016 at 08:17:42AM +0200, Martin Kletzander wrote: Commit 0c56d9431839 forgot to return false in the cmdConnect command after the clean up made there. Before (assuming you don't have uri alias for 'asdf'): $ virsh connect asdf error: failed to connect to the hypervisor $

[libvirt] [PATCH] virsh: Report error when explicit connection fails

2016-07-29 Thread Martin Kletzander
Commit 0c56d9431839 forgot to return false in the cmdConnect command after the clean up made there. Before (assuming you don't have uri alias for 'asdf'): $ virsh connect asdf error: failed to connect to the hypervisor $ echo $? 0 After (with the same assumption): $ virsh connect asdf