Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fail when download of indices did not work

  • Loading branch information...
commit 6d8b859c87f9e2c2a92e61071684bcb200e22805 1 parent 2f88bb3
@rhertzog authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lint-pkgrepo
View
2  lint-pkgrepo
@@ -305,6 +305,6 @@ sub parse_index_from_uri {
my ($uri, $type) = @_;
my $ff = File::Fetch->new(uri => $uri);
unlink("$TMP/" . $ff->output_file());
- $ff->fetch(to => $TMP);
+ $ff->fetch(to => $TMP) || die $ff->error;
return Dpkg::Index->new(type => $type, load => "$TMP/" . $ff->output_file());
}
Please sign in to comment.
Something went wrong with that request. Please try again.