[PATCH 01/15] virCgroupKillRecursive: Return -1 on failure condition
Pavel Hrdina
phrdina at redhat.com
Thu Oct 22 09:50:27 UTC 2020
On Thu, Oct 22, 2020 at 11:34:52AM +0200, Peter Krempa wrote:
> virCgroupKillRecursive sneakily initializes 'ret' to 0 rather than the
> usual -1. 401030499bf moved an error condition but didn't actually
> modify 'ret' return the proper error code.
>
> Fixes: 401030499bf
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/util/vircgroup.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201022/54d3fb43/attachment-0001.sig>
More information about the libvir-list
mailing list