From: Andrew Ruthven <andrew@etc.gen.nz>
Date: Sun, 4 Mar 2012 08:09:00 +0000 (+1300)
Subject: Stop printing out the line number if we fail to hear from the backend.
X-Git-Tag: debian-0.10.0-1~11
X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4abf6caaccbd40449e10dda7f312642c0563ee6f;p=mythtv-status.git

Stop printing out the line number if we fail to hear from the backend.
---

diff --git a/bin/mythtv-status b/bin/mythtv-status
index c1b267c..9d0d870 100755
--- a/bin/mythtv-status
+++ b/bin/mythtv-status
@@ -655,7 +655,7 @@ sub load_xml {
         if defined $status;
     }
 
-    die "Nothing was received from the MythTV Backend"
+    die "Nothing was received from the MythTV Backend.\n"
       unless defined $status;
     ($charset)  = ($content_type =~ /charset="(\S+?)"/);
   }