From: espie Date: Sat, 17 Jan 2015 13:20:04 +0000 (+0000) Subject: make sure we have an interactivestub... I forgot the -I part from the old X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d2e63595961cbc8ce4b546b0113ff66a850a5bf9;p=openbsd make sure we have an interactivestub... I forgot the -I part from the old script. --- 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 # @@ -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;