]> git.proxmox.com Git - mirror_frr.git/blobdiff - redhat/frr.spec.in
redhat: Fix previously added centos6/redhat6 check
[mirror_frr.git] / redhat / frr.spec.in
index 13f6fca600707687a9340c4980e8261f80011676..9982cca3d7ede380cc6d74fb8872076fcfa0ece2 100644 (file)
@@ -64,7 +64,7 @@
 
 #### Check for RedHat 6.x or CentOS 6.x - they are too old to support PIM. 
 ####   Always disable it on these old systems unconditionally
-%{expand: %%global redhat6 %(if [[ `cat /etc/redhat-release 2> /dev/null` =~ release\ 6\. ]]; then echo 6; fi)}
+%{expand: %%global redhat6 %(if [[ `cat /etc/redhat-release 2> /dev/null` =~ release\ 6\. ]]; then echo 6; else echo 0; fi)}
 #
 # if CentOS 6 / RedHat 6, then disable PIMd
 %if "%{redhat6}" == "6"