fix: Split ports correctly (#138)

This commit is contained in:
Kroese 2024-09-10 13:06:55 +02:00 committed by GitHub
parent 9ed7b80038
commit e1703d1493
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ getUserPorts() {
[ -z "$list" ] && list="$ssh,$rdp" || list+=",$ssh,$rdp"
list="${list/,/ }"
list="${list//,/ }"
list="${list## }"
list="${list%% }"