From 5d6c38f355d036330171e9da66c0a7492dbae629 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 9 Dec 2009 14:23:42 +0100 Subject: [PATCH] Fix CentOS/RHEL detection --- regress/scripts/get-os | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/scripts/get-os b/regress/scripts/get-os index a711004233..aaff2cd705 100755 --- a/regress/scripts/get-os +++ b/regress/scripts/get-os @@ -387,9 +387,9 @@ elif test -f /etc/redhat-release then if test `grep -q CentOS /etc/redhat-release` then - DISTNAME=redhat - else DISTNAME=centos + else + DISTNAME=redhat fi elif test -f /etc/gentoo-release then -- 2.39.5