From 2ebb72620bbe24a6d0732fe080af0f30d69f6d09 Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Sun, 11 Jan 2026 19:06:34 -0500 Subject: [PATCH] Put 'wifiName' variable used by 'nmcli' command inside double quotes --- wifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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