mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
fix: Splits $USER_PORTS correctly by commas (#813)
This commit is contained in:
parent
1197c4791e
commit
e383ec30e3
@ -112,7 +112,7 @@ getUserPorts() {
|
|||||||
|
|
||||||
[ -z "$list" ] && list="$ssh,$dsm" || list+=",$ssh,$dsm"
|
[ -z "$list" ] && list="$ssh,$dsm" || list+=",$ssh,$dsm"
|
||||||
|
|
||||||
list="${list/,/ }"
|
list="${list//,/ }"
|
||||||
list="${list## }"
|
list="${list## }"
|
||||||
list="${list%% }"
|
list="${list%% }"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user