2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-14 15:20:29 +00:00

Syntax fixes

This commit is contained in:
Mark Gurevich
2023-02-15 11:22:30 -05:00
parent 540d4ca40a
commit 6d4c948f44

View File

@@ -231,7 +231,7 @@ if (-e ("/etc/xcat/cfgloc")) # check to see if xcat is using mysql
if ($::INIT)
{
my $message =
"The /etc/xcat/cfgloc file is already configured for MySQL and xCAT is using mysql as it's database. No xCAT setup is required.";
"The /etc/xcat/cfgloc file is already configured for MySQL and xCAT is using mysql or mariadb as it's database. No xCAT setup is required.";
xCAT::MsgUtils->message("I", "$message");
}
$::xcatrunningmysql = 1;
@@ -438,6 +438,12 @@ if (($::INIT) && ($::xcatrunningmysql == 0))
}
} # end initialization
else {
# MySQL not running, restart it
if ($::mysqlrunning == 0) {
&mysqlstart;
}
}
if ($::SETUPODBC)
{