Grammar fix.
This commit is contained in:
parent
b5dd0397bf
commit
c88f07fa73
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ sub get_replication_status {
|
||||||
my $sql_running = `mysql -Bse "show slave status\\G"|grep -i slave_sql_running|awk '{ print \$2}'`;
|
my $sql_running = `mysql -Bse "show slave status\\G"|grep -i slave_sql_running|awk '{ print \$2}'`;
|
||||||
if ($io_running eq 'Yes' && $sql_running eq 'Yes') {
|
if ($io_running eq 'Yes' && $sql_running eq 'Yes') {
|
||||||
if ($myvar{'read_only'} eq 'OFF') {
|
if ($myvar{'read_only'} eq 'OFF') {
|
||||||
badprint "This replication slave running with read_only option disabled.";
|
badprint "This replication slave is running with the read_only option disabled.";
|
||||||
} else {
|
} else {
|
||||||
goodprint "This replication slave is running with the read_only option enabled.";
|
goodprint "This replication slave is running with the read_only option enabled.";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue