]> git.puffer.fish Git - matthieu/frr.git/commitdiff
redhat/frr.spec.in: Fix postun script for Fedora.
authorMartin Winter <mwinter@opensourcerouting.org>
Sun, 4 Jun 2017 07:43:34 +0000 (00:43 -0700)
committerMartin Winter <mwinter@opensourcerouting.org>
Sun, 4 Jun 2017 07:43:34 +0000 (00:43 -0700)
Fedora uninstall showed some non-fatal postun script error because of an empty if which only applied to other distro's

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
redhat/frr.spec.in

index 133ed1fcd0eb0b0eddee6b3f397fba5951017a8c..41023dc35ff763873bae9f3988a4a4f380af56e4 100644 (file)
@@ -428,6 +428,7 @@ if [ "$1" -ge 1 ]; then
         ##
         /etc/rc.d/init.d/frr restart >/dev/null 2>&1
     %endif
+    :
 fi
 
 %preun