summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-09-28 14:42:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-09-28 14:42:13 +0000
commit225919d3793154a4afdafc302ad1abd360a8bc54 (patch)
tree9a1de7abf543ec24521d138dbec6d153a99e62e8 /usr.sbin/pkg_add
parenta59b4f8319e515dedf9d7272791764d874d84193 (diff)
nit
from qgiovanni@gmail.com
Diffstat (limited to 'usr.sbin/pkg_add')
-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 92d4a414c9a..fb4fa3b322c 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.29 2007/06/20 13:44:40 espie Exp $
+# $OpenBSD: SharedLibs.pm,v 1.30 2007/09/28 14:42:12 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -124,7 +124,7 @@ sub add_libs_from_installed_package
$done_plist->{$pkgname} = 1;
my $plist = OpenBSD::PackingList->from_installation($pkgname,
\&OpenBSD::PackingList::LibraryOnly);
- next if !defined $plist;
+ return if !defined $plist;
$plist->mark_available_lib($pkgname);
}