From 23eb87dc6e12f10056cfd4fec338954b9c29dabe Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Feb 2023 20:01:09 +0100 Subject: [PATCH] Update 50-disable_ingress.sh --- readarr/rootfs/etc/cont-init.d/50-disable_ingress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readarr/rootfs/etc/cont-init.d/50-disable_ingress.sh b/readarr/rootfs/etc/cont-init.d/50-disable_ingress.sh index 9dc660f92..bd0e3664b 100755 --- a/readarr/rootfs/etc/cont-init.d/50-disable_ingress.sh +++ b/readarr/rootfs/etc/cont-init.d/50-disable_ingress.sh @@ -14,7 +14,7 @@ if bashio::config.true "ingress_disabled"; then if bashio::config.has_value 'CONFIG_LOCATION'; then CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')" # Modify if it is a base directory - if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi + if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname "$CONFIG_LOCATION")"; fi CONFIG_LOCATION="$CONFIG_LOCATION"/config.xml if grep -q "UrlBase" "$CONFIG_LOCATION" || true; then bashio::log.warning "BaseUrl removed, restarting"