diff options
author | Christian Pointner <equinox@helsinki.at> | 2012-09-05 21:37:14 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2012-09-05 21:37:14 (GMT) |
commit | 1b2fa6aaa36c4521736bb85e698ef6eb9a7ae0de (patch) | |
tree | c5e86d2cbffcf401e6bda53ede8f6bbbed610a4e /rhimport-dn | |
parent | 2ed655cc36826e507e0b92e520df4b49f4de6b84 (diff) |
added 'last' after successfull download for DN!
Diffstat (limited to 'rhimport-dn')
-rwxr-xr-x | rhimport-dn | 2 |
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; } } } |