diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index dcfd16931..83917c055 100644 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -44,7 +44,7 @@ for KEYS in "${arr[@]}"; do bashio::log.warning "One of your option is an array, skipping" else # Sanitize variable - if [[ "$VALUE" != \'*\' ]]; then + if [[ "$VALUE" != \'*\' ]] && [[ "$VALUE" == *[!\*]* ]]; then VALUE=$(sanitize_variable "$VALUE") fi # Continue for single values