mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
libvirt-guests: avoid sourcing failure
* tools/libvirt-guests.init.in (libvirtd): Skip function library if it is not present. Suggested by Guido Günther.
This commit is contained in:
parent
ed039abc09
commit
a21db2952f
@ -29,7 +29,8 @@ localstatedir=@localstatedir@
|
|||||||
libvirtd=@sbindir@/libvirtd
|
libvirtd=@sbindir@/libvirtd
|
||||||
|
|
||||||
# Source function library.
|
# 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
|
URIS=default
|
||||||
ON_BOOT=start
|
ON_BOOT=start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user