summaryrefslogtreecommitdiffstats
path: root/src/8021x
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-08-26 02:18:50 +0200
committerJames Rayner <james@archlinux.org>2009-09-07 12:19:46 +0200
commit0cd7101bb61df258b35283b33e4055139b34bc40 (patch)
treef79bdf42d17da1067114f9137e7d7bc8b21895e9 /src/8021x
parent812fdb207b88d7f0bfd022641873d00b66d9071b (diff)
downloadnetctl-0cd7101bb61df258b35283b33e4055139b34bc40.tar.gz
netctl-0cd7101bb61df258b35283b33e4055139b34bc40.tar.xz
quotes around $(...) where needed
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/8021x')
-rw-r--r--src/8021x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/8021x b/src/8021x
index 25c9cc1..bbbbbda 100644
--- a/src/8021x
+++ b/src/8021x
@@ -43,7 +43,7 @@ stop_wpa()
sleep 1 # JP: need this else the file tends to disappear after [[ -f ... ]] but before cat...
# see <http://bbs.archlinux.org/viewtopic.php?pid=515667#p515667>
if [[ -f "/var/run/wpa_supplicant_$1.pid" ]]; then
- kill $(cat "/var/run/wpa_supplicant_$1.pid") &>/dev/null &
+ kill "$(cat "/var/run/wpa_supplicant_$1.pid")" &>/dev/null &
fi
}