fix: Quote list parameter

Quote the input parameter for safety in getHostPorts function.
This commit is contained in:
Kroese 2025-09-27 11:39:15 +02:00 committed by GitHub
parent b62e706745
commit ecf8cd06c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,7 +173,7 @@ getUserPorts() {
getHostPorts() {
local list=$1
local list="$1"
[ -z "$list" ] && echo "" && return 0