Unverified Commit e383ec30 authored by Liang Ying-Ruei's avatar Liang Ying-Ruei Committed by GitHub
Browse files

fix: Splits $USER_PORTS correctly by commas (#813)

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

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

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