Grammar fix.

This commit is contained in:
Ville Skyttä 2011-04-01 21:17:33 +03:00
parent b5dd0397bf
commit c88f07fa73

View file

@ -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.";
} }