[libvirt] [PATCH] Fix discard of expected errors
Eric Blake
eblake at redhat.com
Tue Feb 22 18:13:23 UTC 2011
On 02/22/2011 10:54 AM, Daniel P. Berrange wrote:
> 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 | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110222/1932cf74/attachment-0001.sig>
More information about the libvir-list
mailing list