summaryrefslogtreecommitdiff
path: root/wls
diff options
context:
space:
mode:
authorTslil Clingman <hiato1@gmail.com>2014-03-03 22:14:09 +0200
committerTslil Clingman <hiato1@gmail.com>2014-03-03 22:14:09 +0200
commite09595fc13a59e4b84674b0875f66e6afcd801b2 (patch)
treeab737109e42abd9ace809972cdc75b99a8ac5188 /wls
parentf2b32d25177be465c7209072eb93ae14fc16dfa3 (diff)
Silly spaces in passwords not being captured
Diffstat (limited to 'wls')
-rwxr-xr-xwls2
1 files changed, 1 insertions, 1 deletions
diff --git a/wls b/wls
index 5f51de9..bad8319 100755
--- a/wls
+++ b/wls
@@ -13,7 +13,7 @@ read ssid
if [ ! -f "$dird/$ssid" ]; then
echo Creating new network profile, enter passphrase:
read pass
- wpa_passphrase $ssid $pass > $dird/$ssid
+ wpa_passphrase $ssid "$pass" > $dird/$ssid
echo "Edit file (y/[n])? "
read edit
if [ "$edit" == "y" ]; then