From 46c6fd49da4496173727f259368c4334c95b18eb Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 23 Oct 2019 16:48:14 +0000 Subject: adapt to new ftp(1) retrieving error messages --- usr.sbin/pkg_add/OpenBSD/PackageRepository.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm index e09a0a33312..a74a4fd0477 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.169 2019/10/13 16:21:46 espie Exp $ +# $OpenBSD: PackageRepository.pm,v 1.170 2019/10/23 16:48:13 deraadt Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -341,7 +341,7 @@ sub parse_problems next; } # http error - if (m/^ftp: Error retrieving file: 404/o) { + if (m/^ftp: Error retrieving .*: 404/o) { if (!defined $object) { $self->{no_such_dir} = 1; next; -- cgit v1.2.3