From c3f1c9b491ae0e34c3d0044e03d3f78e57ee3a60 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 26 Aug 2016 18:19:21 +0000 Subject: [PATCH] grrr warning --- usr.sbin/pkg_add/OpenBSD/PkgCheck.pm | 4 ++-- 1 file 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 # @@ -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'); -- 2.20.1