summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2007-09-28 14:42:12 +0000
committerespie <espie@openbsd.org>2007-09-28 14:42:12 +0000
commit0ea04ee3418b388e5e5fd8134f9abcae3fc4d2b9 (patch)
treeff0eee9208d59bfd627ce06d2f4a73da4378d3a7
parentCorrect my mail address. (diff)
downloadwireguard-openbsd-0ea04ee3418b388e5e5fd8134f9abcae3fc4d2b9.tar.xz
wireguard-openbsd-0ea04ee3418b388e5e5fd8134f9abcae3fc4d2b9.zip
nit
from qgiovanni@gmail.com
-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);
}