diff --git a/nextcloud/root/etc/cont-init.d/61-trusted_domains b/nextcloud/root/etc/cont-init.d/61-trusted_domains index 7bd999fc1..d379f0761 100644 --- a/nextcloud/root/etc/cont-init.d/61-trusted_domains +++ b/nextcloud/root/etc/cont-init.d/61-trusted_domains @@ -13,7 +13,7 @@ bashio::log.info "Currently set trusted domains :" $LAUNCHER config:system:get trusted_domains || bashio::log.info "Please first define an admin user before adding additional trusted domains." \ && installation="no" -if bashio::config.has_value 'trusted_domains' && $installation = "no"; then +if bashio::config.has_value 'trusted_domains' && ! $installation = "no"; then bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \ ################################### # Remove previous trusted domains #