From 0cd7101bb61df258b35283b33e4055139b34bc40 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Tue, 25 Aug 2009 20:18:50 -0400 Subject: quotes around $(...) where needed Signed-off-by: Jim Pryor --- src/8021x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/8021x') 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 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 } -- cgit v1.2.3-24-g4f1b