diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index cb9ea5817..78bc5f448 100644 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -4,7 +4,7 @@ slug="${HOSTNAME#*-}" bashio::log.info "Execute if existing custom script /config/${slug}.sh" -if [ -f /config/${slug}.sh ]; then +if [ -f /config/"${slug}".sh ]; then chmod +x /config/"${slug}".sh /./config/"${slug}".sh else