summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-03-04 11:28:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-03-04 11:28:04 +0000
commit9b35e98df2d4fcebc393c744ad750804061c88bd (patch)
tree1f22972c8cf204a64a8cb605ca0484529951c8c4
parent26c4d9570133b59d3910645b10935dbebea47f29 (diff)
zap more success messages. Keep pid of distant location pipe, just in case.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageLocator.pm4
1 files changed, 3 insertions, 1 deletions
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 <espie@openbsd.org>
#
@@ -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};