[libvirt] Remove functions library inclusion from libvirt-guests

Eric Blake eblake at redhat.com
Fri Dec 17 18:10:26 UTC 2010


On 12/17/2010 10:56 AM, Guido Günther wrote:ehavior of the init script.
> 
> Something like
> 
> [ ! -f "$sysconfdir"/rc.d/init.d/functions ] || . "$sysconfdir"/rc.d/init.d/functions
> 
> would avoid a distro specific patch.

Yes, I can live with a patch like that, which checks that it will be
safe to source the script before actually doing so.  I'd use -r instead
of -f, though.

-- 
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/20101217/06ceda95/attachment-0001.sig>


More information about the libvir-list mailing list