summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2012-09-05 21:37:14 (GMT)
committerChristian Pointner <equinox@helsinki.at>2012-09-05 21:37:14 (GMT)
commit1b2fa6aaa36c4521736bb85e698ef6eb9a7ae0de (patch)
treec5e86d2cbffcf401e6bda53ede8f6bbbed610a4e
parent2ed655cc36826e507e0b92e520df4b49f4de6b84 (diff)
added 'last' after successfull download for DN!
-rwxr-xr-xrhimport-dn2
1 files changed, 2 insertions, 0 deletions
diff --git a/rhimport-dn b/rhimport-dn
index 0f35ae7..d155eb2 100755
--- a/rhimport-dn
+++ b/rhimport-dn
@@ -117,6 +117,8 @@ for my $entry ($files_feed->entries) {
print $1 . ": downloading " . $entry->enclosure->url . " (" . $entry->enclosure->length . " Bytes) .. ";
$file = $ff->fetch( to => '/tmp' ) or die $ff->error;
print "ok\n";
+
+ last;
}
}
}