summaryrefslogtreecommitdiffstats
path: root/src/wireless
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-09-22 14:15:02 +0200
committerJames Rayner <james@archlinux.org>2009-09-22 14:15:02 +0200
commit1c6760ebd6b7d6630fbab75885fac5dbea90c78b (patch)
tree05e67c2ab4fab972984fae3671b2b5cae116d2e7 /src/wireless
parent57bed3df9310db328d80b32b31fdefa8418bbd1e (diff)
downloadnetctl-1c6760ebd6b7d6630fbab75885fac5dbea90c78b.tar.gz
netctl-1c6760ebd6b7d6630fbab75885fac5dbea90c78b.tar.xz
Merge connections ethernet/ethernet-iproute
Diffstat (limited to 'src/wireless')
-rw-r--r--src/wireless3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wireless b/src/wireless
index 2a5b4a3..0bd4dc1 100644
--- a/src/wireless
+++ b/src/wireless
@@ -119,7 +119,7 @@ wpa_supplicant_scan_info() {
set_rf_state() {
local INTERFACE="$1" state="$2" PROFILE="$3"
- if [[ "$RFKILL" == "hard" ]]
+ if [[ "$RFKILL" == "hard" ]]; then
report_fail "Cannot set state on hardware rfkill switch"
return 1
fi
@@ -173,3 +173,4 @@ get_rf_state() {
}
# vim: ft=sh ts=4 et sw=4:
+