From 0d7f50b9bbdedba0a2dc55ba237047f36f640ccc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 20 May 2024 20:20:24 +0200 Subject: [PATCH] Update 81-modifications.sh --- birdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh b/birdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh index 4509d1c6a..5e33dfb1e 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh @@ -54,7 +54,7 @@ sed -i "s|/stats|/stats/|g" "$HOME"/BirdNET-Pi/homepage/views.php sed -i "s|/log|/log/|g" "$HOME"/BirdNET-Pi/homepage/views.php # If port 80 is enabled, make sure it is still 80 -if [ -n "$VARIABLE" ] && [ "$(bashio::addon.port 80)" != 80 ]; then +if [ -n "$(bashio::addon.port 80)" ] && [ "$(bashio::addon.port 80)" != 80 ]; then bashio::log.fatal "The port 80 is enabled, but should still be 80 if you want the automatic ssl certificates generation to work" fi