diff options
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 646eaf71e0e..84f0c8ff812 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.365 2009/10/21 10:26:16 espie Exp $ +# $OpenBSD: pkg_add,v 1.366 2009/10/27 11:43:31 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -469,8 +469,7 @@ sub install_set return (); } if ($handle->has_error) { - if ($handle->has_error(OpenBSD::Handle::BAD_PACKAGE) && - !$handle->{tweaked}) { + if (!$handle->{tweaked}) { $state->set_name_from_handle($handle); $state->fatal("Fatal error"); } else { |