dagrha / pypia

Configuration of Private Internet Access VPN routes for Linux
GNU General Public License v3.0
78 stars 15 forks source link

Lubuntu Script #1

Closed t8ert0t closed 8 years ago

t8ert0t commented 8 years ago

The script had an extra " -s " in the password line. This would cause the prompt to "jump" to the error stating that no password was entered after one typed in the username. Below it is written just as how the first lines are for the username, without the " -s " .

read_user_passwd( ) { echo -n "Please enter your PIA password. This gets added to your VPN config files: " read PASSWD if [ -z $PASSWD ]; then error "A password must be provided for the installation to proceed" fi }

dagrha commented 8 years ago

Thanks for your patch. In order to maintain that the password not be echoed in the terminal, I've removed the -s as you suggest and also added another couple of lines. See comments at #2. Will close this issue for now since I've patched and verified it's working on Lubuntu 16.04. Thanks for reporting this bug!