summaryrefslogtreecommitdiff
path: root/rhautoimport-tr
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-tr')
-rwxr-xr-xrhautoimport-tr6
1 files changed, 3 insertions, 3 deletions
diff --git a/rhautoimport-tr b/rhautoimport-tr
index df848a5..7b88c6d 100755
--- a/rhautoimport-tr
+++ b/rhautoimport-tr
@@ -84,9 +84,9 @@ my $bdfile = sprintf("^%04d-?%02d-?%02d", @broadcast_day);
print "looking for files from $bd 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;
}