diff --git a/openvpn/nordvpn/updateConfigs.sh b/openvpn/nordvpn/updateConfigs.sh index 9a51a1a95..6c1cc766a 100755 --- a/openvpn/nordvpn/updateConfigs.sh +++ b/openvpn/nordvpn/updateConfigs.sh @@ -124,9 +124,9 @@ find . ! -name '*.sh' -type f -delete if [[ ! -z $OPENVPN_CONFIG ]] && [[ ! -z $NORDVPN_COUNTRY ]] then - default="$(select_hostname).${NORDVPN_PROTOCOL,,}" + default="$(select_hostname)" else - default="$(select_hostname -d).${NORDVPN_PROTOCOL,,}" + default="$(select_hostname -d)" fi download_hostname -d ${default}