summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-06-25 18:18:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-06-25 18:18:01 +0000
commitd21eeed5ec85d416301e4b956bd04b626d29f2c6 (patch)
treed398492bf1c4bb2c5c74302498de7b329eb66733 /usr.sbin/pkg_add/OpenBSD
parent8c1649c86763d15b0b9334bbe0a68c7c9126c03c (diff)
fix ::lookup interface return, oops
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Dependencies/SolverBase.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies/SolverBase.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies/SolverBase.pm
index 92bbf8fd605..f2c8025b03a 100644
--- a/usr.sbin/pkg_add/OpenBSD/Dependencies/SolverBase.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Dependencies/SolverBase.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SolverBase.pm,v 1.6 2018/06/25 12:34:40 espie Exp $
+# $OpenBSD: SolverBase.pm,v 1.7 2018/06/25 18:18:00 espie Exp $
#
# Copyright (c) 2005-2018 Marc Espie <espie@openbsd.org>
#
@@ -213,8 +213,9 @@ sub find_in_already_done
$obj->{definition_list} = $d;
$state->say("Found tag #1 in #2", $obj->stringize, $dep)
if $state->verbose >= 3;
+ return $dep;
}
- return $r;
+ return undef;
}
sub find_in_plist