summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-11-25 10:58:46 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-11-25 10:58:46 +0000
commit7b0a996ba9242669d29070fbd10ffd81991aa062 (patch)
tree2be5a0d6611456f252f7cf31fd2d5aad21c13d40 /usr.sbin
parentc037301b17849d53386c066e24056227d0dac3a6 (diff)
check_security has been around long enough, no need to check quirks can
do it
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index 32c894d84f0..6e3972cb962 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.146 2023/11/08 09:51:13 caspar Exp $
+# $OpenBSD: PkgAdd.pm,v 1.147 2023/11/25 10:58:45 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -307,7 +307,6 @@ sub check_security($set, $state, $plist, $h)
my ($error, $bad);
$state->run_quirks(
sub($quirks) {
- return unless $quirks->can("check_security");
$bad = $quirks->check_security($plist->fullpkgpath);
if (defined $bad) {
require OpenBSD::PkgSpec;