diff --git a/wifi.sh b/wifi.sh index aa2e16a..b2c7303 100755 --- a/wifi.sh +++ b/wifi.sh @@ -37,7 +37,7 @@ nmcli device wifi list printf "Enter the SSID of the WiFi network you wish to connect to:\n" read -r wifiName -nmcli --ask device wifi connect ${wifiName} +nmcli --ask device wifi connect "${wifiName}" cat << EOF