diff options
author | 2017-03-07 16:21:28 +0000 | |
---|---|---|
committer | 2017-03-07 16:21:28 +0000 | |
commit | f2b1e24cfbbfb58c3fbca1af2c07acf648a68930 (patch) | |
tree | 2db07d0108b5c444d14524f58989f8713f3fc56a | |
parent | Add test vectors to regress gmac_test.c (diff) | |
download | wireguard-openbsd-f2b1e24cfbbfb58c3fbca1af2c07acf648a68930.tar.xz wireguard-openbsd-f2b1e24cfbbfb58c3fbca1af2c07acf648a68930.zip |
okay "can't find" means error reported as well
-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); |