Put 'wifiName' variable used by 'nmcli' command inside double quotes

This commit is contained in:
2026-01-11 19:06:34 -05:00
parent 25afed7541
commit 2ebb72620b

View File

@@ -37,7 +37,7 @@ nmcli device wifi list
printf "Enter the SSID of the WiFi network you wish to connect to:\n" printf "Enter the SSID of the WiFi network you wish to connect to:\n"
read -r wifiName read -r wifiName
nmcli --ask device wifi connect ${wifiName} nmcli --ask device wifi connect "${wifiName}"
cat << EOF cat << EOF