diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageRepository.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm index 227dbd9e84a..ef6501f697e 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageRepository.pm,v 1.50 2008/02/06 20:22:19 bernd Exp $ +# $OpenBSD: PackageRepository.pm,v 1.51 2008/03/04 19:18:37 ckuethe Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -492,7 +492,7 @@ sub try_until_success { my ($self, $pkgname, $code) = @_; - for (my $retry = 5; $retry < 60; $retry *= 2) { + for (my $retry = 5; $retry <= 160; $retry *= 2) { undef $self->{lasterror}; my $o = &$code; if (defined $o) { |