mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-13 22:00:34 +08:00
fix: Splits $USER_PORTS correctly by commas (#813)
This commit is contained in:
@@ -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%% }"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user