diff --git a/root/etc/services.d/protonvpn/run b/root/etc/services.d/protonvpn/run index cf4888e..a7d1566 100755 --- a/root/etc/services.d/protonvpn/run +++ b/root/etc/services.d/protonvpn/run @@ -51,7 +51,7 @@ function connect_vpn() { PVPN_DEBUG="${DEBUG:-0}" protonvpn connect --random elif [[ ${PROTONVPN_SERVER} == "P2P" ]]; then - if [[ ${CFG_TIER} -lt 1 ]]; then + if [[ ${PROTONVPN_TIER} -lt 1 ]]; then log_error "Using P2P requires basic plan or above!" exit 4 else