From a0e389c5bb2e3ac10a365afa5b88ba7e5ceba183 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 18 Nov 2022 10:26:49 +0100 Subject: [PATCH] Update 90-run.sh --- scrutiny/rootfs/etc/cont-init.d/90-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrutiny/rootfs/etc/cont-init.d/90-run.sh b/scrutiny/rootfs/etc/cont-init.d/90-run.sh index 13ab868f1..d54eb7714 100644 --- a/scrutiny/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny/rootfs/etc/cont-init.d/90-run.sh @@ -15,10 +15,10 @@ if [[ "$(bashio::config "Mode")" == Collector ]]; then sed -i "/scrutiny api not ready/d" /etc/services.d/collector-once/run # Check collector - if bashio::config.has_value "COLECTORCOLLECTOR_API_ENDPOINT"; then - echo "export COLECTORCOLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" >> /env.sh + if bashio::config.has_value "COLLECTOR_API_ENDPOINT"; then + echo "export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" >> /env.sh else - bashio::exit.nok "Mode is set to 'Collector', but 'COLECTORCOLLECTOR_API_ENDPOINT' is not defined" + bashio::exit.nok "Mode is set to 'Collector', but 'COLLECTOR_API_ENDPOINT' is not defined" fi fi