[libvirt] [PATCH] util, qemu: Fix virDoes*Exist usage
Pino Toscano
ptoscano at redhat.com
Mon Nov 19 13:31:53 UTC 2018
On Monday, 19 November 2018 14:15:54 CET Martin Kletzander wrote:
> -int
> +bool
> virDoesUserExist(const char *name ATTRIBUTE_UNUSED)
> {
> return 0;
> }
>
> -int
> +bool
> virDoesGroupExist(const char *name ATTRIBUTE_UNUSED)
> {
> return 0;
These !HAVE_GETPWUID_R fallbacks should return false then, instead of
0.
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20181119/900d30d0/attachment-0001.sig>
More information about the libvir-list
mailing list