summaryrefslogtreecommitdiff
path: root/rhimport-rs
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-rs')
-rwxr-xr-xrhimport-rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rhimport-rs b/rhimport-rs
index f78fbb7..322d6fc 100755
--- a/rhimport-rs
+++ b/rhimport-rs
@@ -139,7 +139,6 @@ my $feed = XML::Feed->parse(URI->new($RSS_URL))
my $file = "";
my $out_file = "";
-
my $i = 0;
for my $entry ($feed->entries) {
$i++;
@@ -180,8 +179,8 @@ for my $entry ($feed->entries) {
last;
}
- last if $file != "";
}
+ last if $file ne "";
}
if($file eq "" || !(-e "$file")) {