summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino <andrea@archlinux.org>2009-05-18 17:11:37 +0200
committerAndrea Scarpino <andrea@archlinux.org>2009-05-18 17:11:37 +0200
commit40ba706d25128781dc0f4a54303e056abf5d1c3c (patch)
tree9d30dfed92a5fcfa28aa26338757220e4813dd5b
parent7eb6ed715a1db8d493e615daf63a29813cc147b2 (diff)
downloadnetctl-40ba706d25128781dc0f4a54303e056abf5d1c3c.tar.gz
netctl-40ba706d25128781dc0f4a54303e056abf5d1c3c.tar.xz
fixed typo by Robson Roberto Souza Peixoto
-rw-r--r--src/connections/wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index 653cb00..0619241 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -29,7 +29,7 @@ wireless_up() {
quirk "prescan" && iwlist $INTERFACE scan &> /dev/null # bcm43xx
quirk "preessid" && eval "iwconfig $INTERFACE mode managed essid \"$ESSID\"" # ipw3945
- if checkyesno ${SCAN-no}; then
+ if checkyesno ${SCAN:-no}; then
if ! find_essid $INTERFACE "$ESSID"; then
err_append "Network not present."
return 1