mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-09 03:23:40 +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"
|
||||
|
||||
list="${list/,/ }"
|
||||
list="${list//,/ }"
|
||||
list="${list## }"
|
||||
list="${list%% }"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user