From 6a20314df1ae5812e64d101d2b68df2a617109d4 Mon Sep 17 00:00:00 2001 From: Alexander Hall Date: Fri, 5 Nov 2010 00:23:06 +0000 Subject: Properly quote the wpakey argument. Fixes issue noted by tdm. ok krw@ --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distrib/miniroot') diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index acb5da3059c..5f818be5ba7 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.626 2010/11/04 06:39:19 deraadt Exp $ +# $OpenBSD: install.sub,v 1.627 2010/11/05 00:23:05 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 @@ -800,7 +800,7 @@ ieee80211_config() { ;; 1-[Pp]) ask_until "WPA passphrase? (will echo)" # Make sure ifconfig accepts the key - if ifconfig $_ifs wpakey $resp; then + if ifconfig $_ifs wpakey "$resp"; then echo "wpakey \"$resp\"" >>$_hn break fi -- cgit v1.2.3