mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
@@ -88,7 +88,7 @@ if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
|
|||||||
bashio::log.info "Custom openvpn provider selected"
|
bashio::log.info "Custom openvpn provider selected"
|
||||||
|
|
||||||
# Check that ovpn file exists
|
# 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"
|
bashio::log.fatal "Ovpn file not found at location provided : $OVPNLOCATION"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user