summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-02-03 13:28:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-02-03 13:28:44 +0000
commit0802495d64c9319db03e10fb3af436e0258929e6 (patch)
treed70d48d58eedd4da4748d261ac19981d62416497 /usr.sbin/pkg_add/OpenBSD
parenta8f74652e89d1934187d8f5147ed08a5877a4c17 (diff)
zap duplicate test, spotted by Arto Jonsson
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Handle.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm
index a669f5ffd87..5753879f351 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.34 2014/02/02 15:22:36 espie Exp $
+# $OpenBSD: Handle.pm,v 1.35 2014/02/03 13:28:43 espie Exp $
#
# Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org>
#
@@ -177,9 +177,6 @@ sub complete_dependency_info
if (!defined $location) {
$self->set_error(NOT_FOUND);
- }
- if (!defined $location) {
- $self->set_error(NOT_FOUND);
} else {
if (!defined $self->{plist}) {
# trigger build