]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix CentOS detection in regression get-os script
authorFrank Sweetser <fs@bacula-test.wpi.edu>
Thu, 4 Mar 2010 21:03:15 +0000 (22:03 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 6 Mar 2010 09:10:17 +0000 (10:10 +0100)
regress/scripts/get-os

index aaff2cd705e4ac0a900338f21b9bcd04033b6bec..b14b7880227ee2cd276768e8c1e16e766def806a 100755 (executable)
@@ -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