From: Eric Wilde Date: Mon, 12 Nov 2018 11:11:21 +0000 (+1300) Subject: More correct label. X-Git-Tag: 1.0.0~60 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1382324588032ebaf69644684d28fdf62850b4f;p=mythtv-status.git More correct label. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index 8cf3417..f5e3991 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -159,6 +159,7 @@ if (scalar(@{ $c->{'email'} }) > 0) { my $safe = ''; my $warning = ''; my $normal = ''; + if ($c->{'colour'} && scalar(@{ $c->{'email'} }) == 0) { $safe = "\033[0;32m"; $warning = "\033[1;31m"; @@ -217,7 +218,7 @@ my @blocks = ( # Date/Time from server { - 'name' => 'Status', + 'name' => 'Status as of', 'type' => 'xpath', 'xpath' => "//Status", 'attrs' => [ qw/ISODate time date/ ],