diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2017-03-07 16:21:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2017-03-07 16:21:29 +0000 |
commit | ec56c410b88d0c8821f611698ea16c216dcc3ed2 (patch) | |
tree | b6a94ff3972d48acbc3646d2f89f9927747ba0aa /usr.sbin/pkg_add/OpenBSD | |
parent | ddd13dfec28c3badf9555c6f39ba60a31bf0a67f (diff) |
okay "can't find" means error reported as well
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Handle.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm index 10221736d12..b104a9525cd 100644 --- a/usr.sbin/pkg_add/OpenBSD/Handle.pm +++ b/usr.sbin/pkg_add/OpenBSD/Handle.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Handle.pm,v 1.41 2017/03/07 14:35:40 espie Exp $ +# $OpenBSD: Handle.pm,v 1.42 2017/03/07 16:21:28 espie Exp $ # # Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org> # @@ -290,6 +290,7 @@ sub get_location $state); if (!$handle->{tweaked}) { $state->say("Can't find #1", $name); + $handle->{error_reported} = 1; eval { my $r = [$name]; $state->quirks->filter_obsolete($r, $state); |