summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-11-17 10:48:15 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-11-17 10:48:15 +0000
commita114cd3d79a4e2759823832b41d6d749aadf92fc (patch)
treec1ef9cb3cc9f3fe44115ad67c437cf70bba856f9 /usr.sbin
parent3fb3ca660244a459ec7aefd55479d1c85b50a5ec (diff)
trim more, we already display a quick message for the missing lib elsewhere.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/SharedLibs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
index 0731195c10e..548a6d30546 100644
--- a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
+++ b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SharedLibs.pm,v 1.35 2009/11/17 10:38:27 espie Exp $
+# $OpenBSD: SharedLibs.pm,v 1.36 2009/11/17 10:48:14 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -209,7 +209,6 @@ sub report_problem
return unless defined $stem;
return unless defined $registered_libs->{$stem};
- print "library $name not found\n";
my $r = "";
while (my ($d, $v) = each %{$registered_libs->{$stem}}) {
my @l = ();
@@ -227,6 +226,7 @@ sub report_problem
}
if (!defined $printed->{$name} || $printed->{$name} ne $r) {
$printed->{$name} = $r;
+ print "library $name not found\n";
print $r;
}
}