summaryrefslogtreecommitdiff
path: root/rhautoimport-oi
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-oi')
-rwxr-xr-xrhautoimport-oi6
1 files changed, 3 insertions, 3 deletions
diff --git a/rhautoimport-oi b/rhautoimport-oi
index 40b9059..0f5b9b4 100755
--- a/rhautoimport-oi
+++ b/rhautoimport-oi
@@ -97,9 +97,9 @@ if($current_id eq $id) {
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;
}