]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Use proper indentation
authorAndrea Bolognani <abologna@redhat.com>
Tue, 26 Apr 2016 15:37:16 +0000 (17:37 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 26 Apr 2016 15:38:17 +0000 (17:38 +0200)
Commit 1d4400082a02 added some code that was not indented properly
and broke syntax-check. Fix it.

libvirt.spec.in

index 4eff5aee6f41db349a605ede485754e5de9a79b2..970ac3261bebacb74005d62d36bd1de7e9c2f9fa 100644 (file)
@@ -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