summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2012-07-14 08:45:34 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2012-07-14 08:45:34 +0000
commitefa6dcb5e448ab50cd6bd5d18172e220571dbe03 (patch)
tree7f5c5d39bf595f18dc37dc7d4b922b8b2b405b8d /distrib
parent7afaa7e3a4eb7233e30986bb521fe51b72f3342f (diff)
as _resp is being localized by typeset -l, no need to localize it twice
from Robert Peichaer, thanks! ok krw@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 33ae4e6e2e8..f9e3cb8c6f4 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.660 2012/07/12 10:42:48 halex Exp $
+# $OpenBSD: install.sub,v 1.661 2012/07/14 08:45:33 halex Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -355,7 +355,7 @@ ask_until() {
#
# Return 'y' or 'n' in $resp.
ask_yn() {
- local _q=$1 _a=${2:-no} _resp
+ local _q=$1 _a=${2:-no}
typeset -l _resp
while :; do