mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user