mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-24 18:11:40 +00:00
removed trailing slash in config path
This commit is contained in:
parent
eb9149a624
commit
f532ab5bd5
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -x
|
set -x
|
||||||
vpn_provider="$(echo $OPENVPN_PROVIDER | tr '[A-Z]' '[a-z]')"
|
vpn_provider="$(echo $OPENVPN_PROVIDER | tr '[A-Z]' '[a-z]')"
|
||||||
vpn_provider_configs="/etc/openvpn/$vpn_provider/"
|
vpn_provider_configs="/etc/openvpn/$vpn_provider"
|
||||||
if [ ! -d "$vpn_provider_configs" ]; then
|
if [ ! -d "$vpn_provider_configs" ]; then
|
||||||
echo "Could not find OpenVPN provider: $OPENVPN_PROVIDER"
|
echo "Could not find OpenVPN provider: $OPENVPN_PROVIDER"
|
||||||
echo "Please check your settings."
|
echo "Please check your settings."
|
||||||
|
Loading…
Reference in New Issue
Block a user