summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-04-14 02:20:31 -0700
committerMartin Winter <mwinter@opensourcerouting.org>2017-04-14 02:20:31 -0700
commitdf1a7ae4ce04022e040ec36f1ae91d819e792498 (patch)
tree43fe1fa47df9b144687a9b128785fbd0849cab31
parent33fdbd5efb2ee997d1b4e10ef6da55536bcba7d5 (diff)
redhat: Fix previously added centos6/redhat6 check
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
-rw-r--r--redhat/frr.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 13f6fca600..9982cca3d7 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -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"