defect 4154

This commit is contained in:
lissav 2014-06-05 09:08:55 -04:00
parent 63497743c7
commit 5487553e41

View File

@ -165,7 +165,7 @@ if ($::RUNCMD_RC != 0)
# is this MariaDB or MySQL
$::MariaDB=0;
$cmd = "rpm -qa | grep -i mariadb"; # check this is MariaDB not MySQL
xCAT::Utils->runcmd($cmd, 0);
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC == 0) {
$::MariaDB=1;
}