From: Kern Sibbald Date: Sun, 6 Dec 2009 22:16:19 +0000 (+0100) Subject: Fix CentOS/RedHat test in regress X-Git-Tag: Release-7.0.0~2499 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6783c201a683905266fbe70de0453a02662863ea;p=bacula%2Fbacula Fix CentOS/RedHat test in regress --- 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