[libvirt] [PATCH] spec: Use proper indentation

Andrea Bolognani abologna at redhat.com
Tue Apr 26 15:39:10 UTC 2016


Commit 1d4400082a02 added some code that was not indented properly
and broke syntax-check. Fix it.
---
Pushed as trivial.

 libvirt.spec.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 4eff5ae..970ac32 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1851,11 +1851,11 @@ if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ;
     ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
 
     # Make sure libvirt picks up the new network defininiton
-      %if %{with_systemd}
+        %if %{with_systemd}
     /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 ||:
-      %else
+        %else
     /sbin/service libvirtd condrestart > /dev/null 2>&1 || :
-      %endif
+        %endif
 
 fi
     %endif
-- 
2.5.5




More information about the libvir-list mailing list