diff options
-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; } } } |