Unverified Commit 16c193df authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Split ports correctly (#587)

parent 75606ab7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ getUserPorts() {

  [ -z "$list" ] && list="$ssh,$rdp" || list+=",$ssh,$rdp"

  list="${list/,/ }"
  list="${list//,/ }"
  list="${list## }"
  list="${list%% }"