Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-17 13:30:43 +0200
committerErich Eckner <git@eckner.net>2018-04-17 13:30:43 +0200
commitd71ef8a35787bce195db69e2e70e74032e6aa1d5 (patch)
treebb4ee6a1441dd49ea1810f636f13be95796667c4 /lib
parent336ca22abf7f14444185fe8543d7188a248b5a06 (diff)
show warning on stopped slave
Diffstat (limited to 'lib')
-rw-r--r--lib/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index 94d35b8..d595d64 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -22,6 +22,6 @@ function show_warning_on_offline_slave() {
$result = mysql_run_query("SHOW STATUS LIKE \"Slave_running\"");
if (($result -> num_rows == 0) ||
($result -> fetch_assoc() ["Value"] != "ON")) {
- print "<div><font color=\"fff0000\">The replication slave is currently not running. The database might be outdated.</font></div>";
+ print "<div><font color=\"fff0000\">The replication slave is currently not running. The database might be outdated.</font></div>\n";
}
}