From: Frank Sweetser Date: Thu, 4 Mar 2010 21:03:15 +0000 (+0100) Subject: Fix CentOS detection in regression get-os script X-Git-Tag: Release-5.2.1~1644 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18fe66aa83222158b23984c63563b0e569aac488;p=bacula%2Fbacula Fix CentOS detection in regression get-os script --- diff --git a/regress/scripts/get-os b/regress/scripts/get-os index aaff2cd705..b14b788022 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 -q CentOS /etc/redhat-release` + if grep -q CentOS /etc/redhat-release then DISTNAME=centos else