From 9b35e98df2d4fcebc393c744ad750804061c88bd Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 4 Mar 2006 11:28:04 +0000 Subject: zap more success messages. Keep pid of distant location pipe, just in case. --- usr.sbin/pkg_add/OpenBSD/PackageLocator.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/pkg_add/OpenBSD') diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm index fecbf935c72..1ad3fbd537f 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageLocator.pm,v 1.50 2006/02/21 19:20:54 espie Exp $ +# $OpenBSD: PackageLocator.pm,v 1.51 2006/03/04 11:28:03 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie # @@ -187,6 +187,7 @@ sub parse_problems next if m/^remote\:\s+/; next if m/^Using binary mode to transfer files/; next if m/^Retrieving\s+/; + next if m/^Succesfully retrieved file/; next if m/^\d+\s+bytes\s+received\s+in/; next if m/^ftp: connect to address.*: No route to host/; @@ -441,6 +442,7 @@ sub open_pipe die "Cannot fork: $!"; } if ($pid) { + $object->{pid} = $pid; return $fh; } else { open STDERR, '>', $object->{errors}; -- cgit v1.2.3