diff options
author | 2012-07-14 08:45:33 +0000 | |
---|---|---|
committer | 2012-07-14 08:45:33 +0000 | |
commit | 804b45097c68cf7b54cd5f49dd6bcd7b2d4d1832 (patch) | |
tree | 3aef2c7a7ff72f3dc501370b608a736b011a0422 | |
parent | ansify (diff) | |
download | wireguard-openbsd-804b45097c68cf7b54cd5f49dd6bcd7b2d4d1832.tar.xz wireguard-openbsd-804b45097c68cf7b54cd5f49dd6bcd7b2d4d1832.zip |
as _resp is being localized by typeset -l, no need to localize it twice
from Robert Peichaer, thanks!
ok krw@
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
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 |