mirror of
https://github.com/MiSTer-devel/Scripts_MiSTer.git
synced 2026-04-19 03:05:34 +00:00
fix: Do not discard trailing spaces in ssids (#120)
Co-authored-by: lubinatien@gablem.eu <sebastien.lemercier@global.ntt>
This commit is contained in:
@@ -170,10 +170,10 @@ function connect_wifi() {
|
||||
i=0
|
||||
_set_interface_wifi up 2>/dev/null
|
||||
sleep 1
|
||||
while read essid; read type; do
|
||||
essids+=("$essid")
|
||||
while IFS= read -r essid; read type; do
|
||||
essids+=("${essid}")
|
||||
types+=("$type")
|
||||
options+=("$i" "$essid")
|
||||
options+=("$i" "${essid}")
|
||||
((i++))
|
||||
done < <(list_wifi)
|
||||
options+=("H" "Hidden ESSID")
|
||||
|
||||
Reference in New Issue
Block a user