From 14f2338782e6bdfea484ca94e21eb0ccbcd515e2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 4 Sep 2023 16:43:57 +0200 Subject: [PATCH] Look for file https://github.com/alexbelgium/hassio-addons/issues/978 --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 22c2c9510..fe5b72929 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -88,7 +88,7 @@ if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then bashio::log.info "Custom openvpn provider selected" # Check that ovpn file exists - if [ ! -f "$OVPNLOCATION" ] || [ ! -f "$OVPNLOCATION/$OVPNCONFIG" ]; then + if [ ! -f "$OVPNLOCATION" ]; then bashio::log.fatal "Ovpn file not found at location provided : $OVPNLOCATION" exit 1 fi