
18 Dec
2010
18 Dec
'10
1:41 p.m.
On Fri, Dec 17, 2010 at 05:26:52PM -0700, Eric Blake wrote:
* tools/libvirt-guests.init.in (libvirtd): Skip function library if it is not present. Suggested by Guido Günther. --- tools/libvirt-guests.init.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/libvirt-guests.init.in b/tools/libvirt-guests.init.in index 5dab36b..e28938d 100644 --- a/tools/libvirt-guests.init.in +++ b/tools/libvirt-guests.init.in @@ -29,7 +29,8 @@ localstatedir=@localstatedir@ libvirtd=@sbindir@/libvirtd
# Source function library. -. "$sysconfdir"/rc.d/init.d/functions +test ! -r "$sysconfdir"/rc.d/init.d/functions || + . "$sysconfdir"/rc.d/init.d/functions
ACK. Thanks! -- Guido