From 414ec6e96e2dc2a76cbb5baa1772c35c544ce07e Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Fri, 14 Apr 2017 02:20:31 -0700 Subject: [PATCH] redhat: Fix previously added centos6/redhat6 check Signed-off-by: Martin Winter --- redhat/frr.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 8ecb63ec94..1ebb7c16ca 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -65,7 +65,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"