From 4abf6caaccbd40449e10dda7f312642c0563ee6f Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sun, 4 Mar 2012 21:09:00 +1300 Subject: [PATCH] Stop printing out the line number if we fail to hear from the backend. --- bin/mythtv-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+?)"/); } -- 2.30.2