summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-06-16 08:41:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-06-16 08:41:56 +0000
commitaf6f4a4afb830425725a1f5dd61576667c921ee8 (patch)
tree6efd1b44075dacf2db963556bbac787cb0ecd262
parent992c606f6a98294307ebd42f7c6e021c5c2167ed (diff)
heh. bug happens so seldom, fix was not 100%
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Dependencies.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
index 819f6bc07db..92ff569895f 100644
--- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Dependencies.pm,v 1.160 2018/06/15 10:28:21 espie Exp $
+# $OpenBSD: Dependencies.pm,v 1.161 2018/06/16 08:41:55 espie Exp $
#
# Copyright (c) 2005-2010 Marc Espie <espie@openbsd.org>
#
@@ -82,7 +82,7 @@ sub may_adjust
} elsif ($u->pkgname ne $dep) {
$state->say("converting into #1", $u->pkgname)
if $state->verbose >=3;
- return $u;
+ return $u->pkgname;
} else {
$state->say("didn't change")
if $state->verbose >=3;