summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-07-17 11:52:11 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-07-17 11:52:11 +0200
commit018fd30fdefd349fde7fdbd355900f3f8bda0b92 (patch)
tree289636992c0284476103183dfd3f6ff10c451314 /scripts
parenta0b9e69f406ad7cbb7f50f9a044509471f3bd262 (diff)
downloadnetctl-018fd30fdefd349fde7fdbd355900f3f8bda0b92.tar.gz
netctl-018fd30fdefd349fde7fdbd355900f3f8bda0b92.tar.xz
2.8.8 release updates
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/netcfg-wpa_actiond3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/netcfg-wpa_actiond b/scripts/netcfg-wpa_actiond
index 7adde5c..3a6ec22 100755
--- a/scripts/netcfg-wpa_actiond
+++ b/scripts/netcfg-wpa_actiond
@@ -19,8 +19,7 @@ case $1 in
PIDFILE="/run/wpa_actiond_${interface}.pid"
[[ -f "$IFACE_DIR/$interface" ]] && source "$IFACE_DIR/$interface"
netcfg -D "$interface"
- timeout_wait 1 '[[ ! -f "$PIDFILE" ]]' || \
- kill "$(< "$PIDFILE")"
+ timeout_wait 1 '[[ ! -f "$PIDFILE" ]]' || kill "$(< "$PIDFILE")"
# only try to disable software rfkill switches (FS#25514)
if [[ "$RFKILL" == "soft" ]]; then
set_rf_state "$interface" disabled $RFKILL_NAME || exit $?