diff --git a/nextcloud/root/etc/cont-init.d/52-trusted_domains b/nextcloud/root/etc/cont-init.d/52-trusted_domains index b30e4df82..9c3b1b945 100644 --- a/nextcloud/root/etc/cont-init.d/52-trusted_domains +++ b/nextcloud/root/etc/cont-init.d/52-trusted_domains @@ -5,7 +5,7 @@ if bashio::config.has_value 'trusted_domains'; then ################################### # Remove previous trusted domains # ################################### - bashio::log.info "... removing previously added trusted domain (except for first one created - this > + bashio::log.info "... removing previously added trusted domain (except for first one created)" i=2 until [ $i -gt 5 ] do @@ -24,8 +24,7 @@ if bashio::config.has_value 'trusted_domains'; then bashio::log.info "... adding ${domain}" && \ /usr/bin/occ config:system:set trusted_domains $i --value=${domain} && \ ((i=i+1)) - done || \ - + done fi bashio::log.info "Remaining configurated trusted domains :"