mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-06 19:45:13 +00:00
fix syntax error
This commit is contained in:
@@ -971,7 +971,7 @@ sub mysqlstart
|
||||
else
|
||||
{
|
||||
if ($::MariaDB == 1) { # running MariaDB
|
||||
if ($::linuxos =~ /rh.*/) || ($::linuxos =~ /sle15.*/ {
|
||||
if ( ($::linuxos =~ /rh.*/) || ($::linuxos =~ /sles15.*/) ) {
|
||||
$ret = xCAT::Utils->startservice("mariadb");
|
||||
} else { # sles
|
||||
$ret = xCAT::Utils->startservice("mysql");
|
||||
@@ -1084,7 +1084,7 @@ sub mysqlreboot
|
||||
{
|
||||
if ($::MariaDB == 1) { # MariaDB not MySQL
|
||||
|
||||
if ($::linuxos =~ /rh.*/) || ($::linuxos =~ /sle15.*/{
|
||||
if ( ($::linuxos =~ /rh.*/) || ($::linuxos =~ /sles15.*/) ){
|
||||
$cmd = "chkconfig mariadb on";
|
||||
} else { #sles
|
||||
$cmd = "chkconfig mysql on";
|
||||
|
Reference in New Issue
Block a user