From dd98055d7c260a0612991e93323e816c121b1968 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sat, 28 Nov 2009 20:47:17 -0500 Subject: connections/wireless: is_interface needed quotes, and wasn't exiting on failure Signed-off-by: Jim Pryor --- src/connections/wireless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connections') diff --git a/src/connections/wireless b/src/connections/wireless index 638b51b..5c9091a 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -69,7 +69,7 @@ wireless_up() { enable_rf || return 1 # Check if interface exists - is_interface $INTERFACE || report_fail "interface $INTERFACE does not exist" + is_interface "$INTERFACE" || { report_fail "interface $INTERFACE does not exist"; return 1; } # Kill any lingering wpa_supplicants. report_debug wireless_up stop_wpa "$INTERFACE" -- cgit v1.2.3-24-g4f1b