diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 2e7df76b3..b273f22e0 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -13,7 +13,7 @@ git config --system user.name ${GITUSER} git config --system user.password ${GITPASS} git config --system user.email ${GITMAIL} -if [ bashio::config.has_value 'git-api' ]; then +if bashio::config.has_value 'git-api'; then bashio::log.info "... setting github API" export GITHUB_API_TOKEN=$(bashio::config 'git-api') fi