mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 10:27:22 +08:00
fix: Quote list parameter
Quote the input parameter for safety in getHostPorts function.
This commit is contained in:
parent
b62e706745
commit
ecf8cd06c4
@ -173,7 +173,7 @@ getUserPorts() {
|
||||
|
||||
getHostPorts() {
|
||||
|
||||
local list=$1
|
||||
local list="$1"
|
||||
|
||||
[ -z "$list" ] && echo "" && return 0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user