Revert "Revert "Update 99-run.sh""

This reverts commit 87904a1b86.
This commit is contained in:
Alexandre
2022-06-17 12:02:05 +02:00
parent 87904a1b86
commit 14bb995258

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