summaryrefslogtreecommitdiff
path: root/rhautoimport-dn
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-04-20 16:55:23 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-04-20 16:55:23 (GMT)
commit6b6b8e4ae94161691d29b13c148067dcccdf7089 (patch)
tree5f7f0f698f229d97647d6c7a0e5289c9fe42fc20 /rhautoimport-dn
parentf43ac460d03c7e0df98a050310e79f924b24dec0 (diff)
fixed scope of variable
Diffstat (limited to 'rhautoimport-dn')
-rwxr-xr-xrhautoimport-dn2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhautoimport-dn b/rhautoimport-dn
index 5b1bc63..80ffec3 100755
--- a/rhautoimport-dn
+++ b/rhautoimport-dn
@@ -142,7 +142,7 @@ if($uri eq "") {
print "\nlooking for headlines from date $y in RSS Feed\n";
print " -> $HEADLINES_RSS_URL\n";
-my ($headlines_feed, $errstr) = rhautoimport::fetch_parse_rss($HEADLINES_RSS_URL);
+(my $headlines_feed, $errstr) = rhautoimport::fetch_parse_rss($HEADLINES_RSS_URL);
unless (defined $headlines_feed) {
print "Error fetching feed: $errstr\n";
exit 1;