summaryrefslogtreecommitdiff
path: root/rhautoimport-btl
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-btl')
-rwxr-xr-xrhautoimport-btl6
1 files changed, 3 insertions, 3 deletions
diff --git a/rhautoimport-btl b/rhautoimport-btl
index 300027c..2144053 100755
--- a/rhautoimport-btl
+++ b/rhautoimport-btl
@@ -91,9 +91,9 @@ my $bdfile = sprintf("%02d%02d%02d-btlv128\.mp3", $broadcast_date[0]%100, $broad
print "looking for files like '$bdfile' in RSS Feed\n";
print " -> $RSS_URL\n";
-my ($feed, $errstr) = rhautoimport::fetch_parse_rss($RSS_URL);
-unless (defined $feed) {
- print "Error fetching feed: $errstr\n";
+my ($result, $feed) = rhautoimport::fetch_parse_rss($RSS_URL);
+unless ($result) {
+ print "Error fetching feed: $feed\n";
exit 1;
}