summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-12-29 13:40:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-12-29 13:40:55 +0000
commit1839fb6043e8d8a6404407980e076427d8d5d193 (patch)
treed49ae968e455ae5777231f2b42738b4f96dcc49d /usr.sbin/pkg_add
parentc5e7ddd8b0f00594d6caab32f28703f4891f076f (diff)
fix sign-while-creating mode
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCreate.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
index 8b54b0e0783..aa977de2bca 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCreate.pm,v 1.73 2013/12/25 14:38:56 espie Exp $
+# $OpenBSD: PkgCreate.pm,v 1.74 2013/12/29 13:40:54 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -1464,7 +1464,7 @@ sub parse_and_run
$state->{bad} = 0;
if (defined $state->{signer}) {
- $self->add_signature($plist);
+ $self->add_signature($plist, $state);
$plist->save if $regen_package;
}