From 33c11e8c66a7d9423a4e13008270f1c25a394725 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 19 Nov 2007 21:47:01 +1300 Subject: [PATCH] Make sure we don't print the schedule conflicts block if there aren't any conflicts. --- bin/mythtv-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mythtv-status b/bin/mythtv-status index f77a66b..44501ff 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -219,7 +219,7 @@ for my $block (@blocks) { $output = substitute_vars($block, { 'next_time' => $next_time }); } - if (defined $output) { + if (defined $output && $output ne '') { print "$block->{'name'}:" . ($block->{'format'} eq 'one line' ? ' ' : "\n"); print $output . "\n\n"; } -- 2.30.2