]> xenbits.xensource.com Git - libvirt.git/commit
Fix discard of expected errors
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Feb 2011 17:31:35 +0000 (17:31 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Feb 2011 11:11:55 +0000 (11:11 +0000)
commit449b4c87b55686a78b76eff7c5d858c1d1166a8c
treef3fc43703e3b1f3936a78a27cc1077a4aa724453
parent9f5bbe3b926b52c6490346fd3c026546caadaefd
Fix discard of expected errors

In a couple of commands virsh catches & ignores errors, but fails
to reset last_error. Thus the error is ignored, but still reported
to the user.

* tools/virsh.c: Reset last_error if ignoring an error
tools/virsh.c