Double quote array expansions to avoid re-splitting elements

This commit is contained in:
YISH 2024-08-13 21:37:32 +08:00
parent cdc5e9ec6a
commit e7956fde55
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ set -eo pipefail
if ! command -v docker &> /dev/null; then if ! command -v docker &> /dev/null; then
USER_FLAG=() USER_FLAG=()
docker() { docker() {
podman $@ podman "$@"
} }
fi fi