diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 58747315b..43a1f08a6 100644 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -155,7 +155,7 @@ while IFS= read -r line; do KEYS="${line%%=*}" VALUE="${line#*=}" # Check if VALUE is quoted - if [[ "$VALUE" != \"*\" || "$VALUE" == \'*\' ]]; then + if [[ "$VALUE" != \"*\" ]] && [[ "$VALUE" != \'*\' ]]; then VALUE="\"$VALUE\"" fi line="${KEYS}"="${VALUE}"