summaryrefslogtreecommitdiffstats
path: root/ifupdown/if-down
diff options
context:
space:
mode:
Diffstat (limited to 'ifupdown/if-down')
-rwxr-xr-xifupdown/if-down3
1 files changed, 2 insertions, 1 deletions
diff --git a/ifupdown/if-down b/ifupdown/if-down
index 6915ade..224d97b 100755
--- a/ifupdown/if-down
+++ b/ifupdown/if-down
@@ -4,7 +4,8 @@ set -eu
if [ "x${IFACE#wlan}" != "x${IFACE}" ]; then
if [ -f "/var/run/wpa_supplicant.${IFACE}.conf" ]; then
- wpa_cli -p/var/run/wpa_supplicant -i${IFACE} terminate
+ wpa_cli -p"/var/run/wpa_supplicant.${IFACE}" -i${IFACE} \
+ terminate
rm "/var/run/wpa_supplicant.${IFACE}.conf"
fi
fi