fix: Split ports correctly (#138)
This commit is contained in:
parent
9ed7b80038
commit
e1703d1493
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ getUserPorts() {
|
|||
|
||||
[ -z "$list" ] && list="$ssh,$rdp" || list+=",$ssh,$rdp"
|
||||
|
||||
list="${list/,/ }"
|
||||
list="${list//,/ }"
|
||||
list="${list## }"
|
||||
list="${list%% }"
|
||||
|
||||
|
|
Loading…
Reference in a new issue