]> 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)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:37 +0000 (16:49 +0200)
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