dinger1986 / bitwardenrs_install_script

Install Script for BitWarden_RS for Ubuntu 20.04
GNU General Public License v3.0
42 stars 16 forks source link

Fail if sudo fails #15

Closed nicolas-graves closed 3 years ago

nicolas-graves commented 3 years ago

Hi ! Thanks for your work on this nice and useful script.

When trying to update, I forgot my bitwardenrs user password, tried to exit, and the script made some mess in my folders.

Nothing too serious, I guess, but it would be nice to add a "quit on sudo fail" on the first sudo prompt.

Thanks again !

dinger1986 commented 3 years ago

Surely you have your password saved in a your vault? If you dont have one can recommend vaultwarden ;)

fair point, added to script now.