summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2016-08-26 18:19:22 +0000
committerMarc Espie <espie@cvs.openbsd.org>2016-08-26 18:19:22 +0000
commit4101403b28fa6aa477436b50bf05446867ca8812 (patch)
treea91630c4451a24e903ebe29b42005a140e88deef
parent75a3b6f3f3b1087806e798f5ce6301e969c9687b (diff)
grrr warning
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCheck.pm4
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 54c6e56a781..d3d74b6cd00 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.61 2016/08/25 16:27:16 jmc Exp $
+# $OpenBSD: PkgCheck.pm,v 1.62 2016/08/26 18:19:21 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -312,7 +312,7 @@ sub handle_options
$self->SUPER::handle_options('fFB:q',
'[-FfIimnqvx] [-B pkg-destdir] [-D value]');
$self->{force} = $self->opt('f');
- $self->{quick} = $self->opt('q');
+ $self->{quick} = $self->opt('q') // 0;
$self->{filesystem} = $self->opt('F');
if (defined $self->opt('B')) {
$self->{destdir} = $self->opt('B');