aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp_status.php')
-rw-r--r--packages/carp_status.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php
index c4b64b86..764cdd16 100644
--- a/packages/carp_status.php
+++ b/packages/carp_status.php
@@ -130,8 +130,10 @@ if($config['installedpackages']['carp']['config'] <> "")
} else {
if($status == "MASTER") {
$icon = "<img {$align} src='/pass.gif'>";
- } else {
+ } else if($status == "BACKUP") {
$icon = "<img {$align} src='/pass_d.gif'>";
+ } else if($status == "INIT") {
+ $icon = "<img {$align} src='/log.gif'>";
}
}
echo "<td class=\"listlr\"><center>" . $carp_int . "&nbsp;</td>";