summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/wifi-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi-menu b/src/wifi-menu
index 2b2e700..57275c4 100755
--- a/src/wifi-menu
+++ b/src/wifi-menu
@@ -146,7 +146,7 @@ connect_to_ssid()
SPAWNED_PROFILE=1
fi
clear
- if ! netctl restart "$PROFILE"; then
+ if ! netctl switch-to "$PROFILE"; then
if (( SPAWNED_PROFILE )); then
msg=" CONNECTING FAILED