libvirt-1.2.16-fix_paths_in_libvirt-guests_sh.patch 641 B

1234567891011121314151617181920
  1. diff --git a/tools/libvirt-guests.sh.in b/tools/libvirt-guests.sh.in
  2. index 7f74b85..ea58119 100644
  3. --- a/tools/libvirt-guests.sh.in
  4. +++ b/tools/libvirt-guests.sh.in
  5. @@ -41,11 +41,11 @@ CONNECT_RETRIES=10
  6. RETRIES_SLEEP=1
  7. SYNC_TIME=0
  8. -test -f "$sysconfdir"/sysconfig/libvirt-guests &&
  9. - . "$sysconfdir"/sysconfig/libvirt-guests
  10. +test -f "$sysconfdir"/libvirt/libvirt-guests.conf &&
  11. + . "$sysconfdir"/libvirt/libvirt-guests.conf
  12. LISTFILE="$localstatedir"/lib/libvirt/libvirt-guests
  13. -VAR_SUBSYS_LIBVIRT_GUESTS="$localstatedir"/lock/subsys/libvirt-guests
  14. +VAR_SUBSYS_LIBVIRT_GUESTS="$localstatedir"/lock/libvirt-guests
  15. RETVAL=0