summaryrefslogtreecommitdiff
path: root/rhautoimport-rs
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-rs')
-rwxr-xr-xrhautoimport-rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rhautoimport-rs b/rhautoimport-rs
index e33a955..fbcae5e 100755
--- a/rhautoimport-rs
+++ b/rhautoimport-rs
@@ -129,9 +129,9 @@ my $bdfile = sprintf("RAST%04d%02d%02d(CBA)?(.*)\.MP3", @broadcast_date);
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;
}