mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 08:42:42 +01:00
fix: Splits $USER_PORTS correctly by commas (#813)
This commit is contained in:
1 parent
1197c4791e
commit
e383ec30e3
1 file changed
+1
-1
+1
-1
@@ -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