diff options
author | James Rayner <james@archlinux.org> | 2009-09-22 14:15:02 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-09-22 14:15:02 +0200 |
commit | 1c6760ebd6b7d6630fbab75885fac5dbea90c78b (patch) | |
tree | 05e67c2ab4fab972984fae3671b2b5cae116d2e7 /src/wireless | |
parent | 57bed3df9310db328d80b32b31fdefa8418bbd1e (diff) | |
download | netctl-1c6760ebd6b7d6630fbab75885fac5dbea90c78b.tar.gz netctl-1c6760ebd6b7d6630fbab75885fac5dbea90c78b.tar.xz |
Merge connections ethernet/ethernet-iproute
Diffstat (limited to 'src/wireless')
-rw-r--r-- | src/wireless | 3 |
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: + |