Update 99-run.sh

This commit is contained in:
Alexandre
2022-06-17 10:15:44 +02:00
committed by GitHub
parent 8c34044110
commit 450d34bf0d

View File

@@ -23,7 +23,7 @@ OPENVPN_PROVIDER="${OPENVPN_PROVIDER%.*}"
bashio::log.info "Custom openvpn provider selected"
# Check that ovpn file exists
if [ ! -f bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION" ]; then
if [ ! -f "$(bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION")" ]; then
bashio::log.fatal "Ovpn file not found at location provided : $OVPNLOCATION"
exit 1
fi