summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/wireless
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2014-04-23 15:09:32 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2014-04-23 15:09:32 +0200
commite9c36cc1ef0e17d80d279a06f15833e8da13ffb2 (patch)
tree141184392c9ce000113ac2f66851799d4e21e605 /src/lib/connections/wireless
parent72a02f90e4411f9ed2b6ec98dc079279b962476b (diff)
downloadnetctl-e9c36cc1ef0e17d80d279a06f15833e8da13ffb2.tar.gz
netctl-e9c36cc1ef0e17d80d279a06f15833e8da13ffb2.tar.xz
Minor fixes
- Don't bring an interface down if it is not brought up for wireless connections. - Often, `read` needs '-r'.
Diffstat (limited to 'src/lib/connections/wireless')
-rw-r--r--src/lib/connections/wireless1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/connections/wireless b/src/lib/connections/wireless
index 88ca3e3..6e43864 100644
--- a/src/lib/connections/wireless
+++ b/src/lib/connections/wireless
@@ -32,7 +32,6 @@ wireless_up() {
config_file=$(wpa_make_config_file "$Interface")
if [[ -z $config_file ]]; then
report_error "Could not create a wpa config file for interface '$Interface'"
- bring_interface_down "$Interface"
return 1
fi
printf "%s\n" "network={" "$(wpa_make_config_block)" "}" >> "$config_file"