* 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
URIS=default
ON_BOOT=start
--
1.7.3.3