summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-10-23 16:48:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-10-23 16:48:14 +0000
commit46c6fd49da4496173727f259368c4334c95b18eb (patch)
tree7440100532fee7ba642bfe0ca438b11a680a5ef0 /usr.sbin
parenta0726062ed4a62295052b87572a7fb9c3373528d (diff)
adapt to new ftp(1) retrieving error messages
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageRepository.pm4
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 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 <espie@openbsd.org>
#
@@ -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;