diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgCheck.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgCheck.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm index d1829224290..eface7321fe 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCheck.pm,v 1.27 2010/12/24 10:31:59 espie Exp $ +# $OpenBSD: PkgCheck.pm,v 1.28 2010/12/29 13:03:05 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -630,7 +630,7 @@ sub parse_and_run if (@ARGV != 0) { $state->usage; } - lock_db(0) unless $state->{subst}->value('nolock'); + lock_db(0, $state) unless $state->{subst}->value('nolock'); $self->run($state); return 0; } |