From afdc7644f00e24f85248e8b487875aa9a328e1aa Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 6 Dec 2009 23:16:19 +0100 Subject: [PATCH] Fix CentOS/RedHat test in regress --- regress/scripts/get-os | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/scripts/get-os b/regress/scripts/get-os index 2a1cfed656..a711004233 100755 --- a/regress/scripts/get-os +++ b/regress/scripts/get-os @@ -385,7 +385,7 @@ then DISTNAME=redhat elif test -f /etc/redhat-release then - if test `grep CentOS /etc/redhat-release` + if test `grep -q CentOS /etc/redhat-release` then DISTNAME=redhat else -- 2.39.5