On Wed, Feb 14, 2018 at 03:11:40PM +0100, Jiri Denemark wrote:
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
libvirt.spec.in | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index c5cb0439a0..f73fcab494 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1615,15 +1615,15 @@ fi
%triggerpostun daemon -- libvirt-daemon < 1.3.0
if [ $1 -ge 1 ] ; then
%if %{with_systemd}
- /bin/systemctl is-enabled libvirtd.service 1>/dev/null 2>&1
&&
- /bin/systemctl enable virtlogd.socket virtlogd-admin.socket || :
- /bin/systemctl is-active libvirtd.service 1>/dev/null 2>&1 &&
- /bin/systemctl start virtlogd.socket virtlogd-admin.socket || :
+ /bin/systemctl is-enabled libvirtd.service 1>/dev/null 2>&1 &&
+ /bin/systemctl enable virtlogd.socket virtlogd-admin.socket || :
+ /bin/systemctl is-active libvirtd.service 1>/dev/null 2>&1 &&
+ /bin/systemctl start virtlogd.socket virtlogd-admin.socket || :
%else
- /sbin/chkconfig libvirtd 1>/dev/null 2>&1 &&
- /sbin/chkconfig virtlogd on || :
- /sbin/service libvirtd status 1>/dev/null 2>&1 &&
- /sbin/service virtlogd start || :
+ /sbin/chkconfig libvirtd 1>/dev/null 2>&1 &&
+ /sbin/chkconfig virtlogd on || :
+ /sbin/service libvirtd status 1>/dev/null 2>&1 &&
+ /sbin/service virtlogd start || :
%endif
fi
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|