[libvirt] [PATCH 14/17] virt-login-shell: avoid loosing error during cleanup

John Ferlan jferlan at redhat.com
Wed Apr 27 19:01:15 UTC 2016



On 04/14/2016 11:22 AM, Daniel P. Berrange wrote:
> The virDomainFree / virConnectClose methods will reset the
> last error handle, so we must save the error during cleanup
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  tools/virt-login-shell.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

ACK

John




More information about the libvir-list mailing list