]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Make sure virExec hook failures are raised
authorCole Robinson <crobinso@redhat.com>
Wed, 13 Jan 2010 20:22:28 +0000 (15:22 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Jan 2010 14:19:39 +0000 (09:19 -0500)
commit522776ed4c082e9443b6005b15c23c59de716bba
treed8d584cbb5cfe8b6d876475e9ed3e1eff780ab08
parent5073aa994af460e775cb3e548528e28d7660fcc8
util: Make sure virExec hook failures are raised

With the introduction virDispatchError, hook function errors are
never sent through the error callback, so users will never see
these messages.

Fix this by calling virDispatchError after hook failure.
src/util/util.c