summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2015-01-17 13:20:04 +0000
committerespie <espie@openbsd.org>2015-01-17 13:20:04 +0000
commitd2e63595961cbc8ce4b546b0113ff66a850a5bf9 (patch)
tree196f419368978f695806010300e40ab110c41310
parentUppercase global vars (auto -> AUTO, respfile -> RESPFILE) (diff)
downloadwireguard-openbsd-d2e63595961cbc8ce4b546b0113ff66a850a5bf9.tar.xz
wireguard-openbsd-d2e63595961cbc8ce4b546b0113ff66a850a5bf9.zip
make sure we have an interactivestub... I forgot the -I part from the old
script.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/FwUpdate.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm
index 048cfd734e4..72e1fe1eea6 100644
--- a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm
+++ b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: FwUpdate.pm,v 1.9 2015/01/15 19:16:17 espie Exp $
+# $OpenBSD: FwUpdate.pm,v 1.10 2015/01/17 13:20:04 espie Exp $
#
# Copyright (c) 2014 Marc Espie <espie@openbsd.org>
#
@@ -58,6 +58,7 @@ sub handle_options
$state->{localbase} = OpenBSD::Paths->localbase;
$state->{destdir} = '';
$state->{wantntogo} = 0;
+ $state->{interactive} = OpenBSD::InteractiveStub->new($state);
$state->{subst}->add('repair', 1);
if ($state->opt('a') && @ARGV != 0) {
$state->usage;