pia-foss / manual-connections

Scripts for manual connections to Private Internet Access
MIT License
646 stars 168 forks source link

Exit with error upon failure to get token #174

Open candrews opened 1 year ago

candrews commented 1 year ago

When there's a failure to get the token from https://www.privateinternetaccess.com/api/client/v2/token exit with an error status of 1 instead of success