[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] hooks: let virCommand do the error reporting



On 10/09/2012 05:47 AM, Eric Blake wrote:
> The code was reporting raw exit status without decoding it into
> normal vs. signal exit.  virCommandRun already does this, but
> with a different error type, so all we have to do is recast
> the error to the correct type.
> Reported by li guang.
> 
> * src/util/hooks.c (virHookCall): Simplify.
> ---
> 
> In response to:
> https://www.redhat.com/archives/libvir-list/2012-October/msg00308.html
> 
>  src/util/hooks.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
> 

ACK,

Martin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]