summaryrefslogtreecommitdiffstats
path: root/src/8021x
diff options
context:
space:
mode:
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
}