diff options
author | Alexander Hall <halex@cvs.openbsd.org> | 2010-11-05 00:23:06 +0000 |
---|---|---|
committer | Alexander Hall <halex@cvs.openbsd.org> | 2010-11-05 00:23:06 +0000 |
commit | 6a20314df1ae5812e64d101d2b68df2a617109d4 (patch) | |
tree | 2ff9a491d8142d16355b4b2199937461dc0775fc /distrib/miniroot | |
parent | 276c0fdc008c9390231e1a6fb7bfba5c4322efe4 (diff) |
Properly quote the wpakey argument. Fixes issue noted by tdm.
ok krw@
Diffstat (limited to 'distrib/miniroot')
-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 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 |