after merge bugfixes, bitwarden optional, error handling, perm fixes

This commit is contained in:
cfcolaco 2019-09-02 13:35:54 +02:00
parent ad29af2199
commit 50ad223e83
2 changed files with 31 additions and 7 deletions

View file

@ -74,7 +74,13 @@ do
NO_PASS="1"
;;
-b|--bitwarden)
BITWARDEN="2"
if which bw; then
BITWARDEN="2"
else
echo "Bitwarden not found, please install bitwarden"
exit 1
fi
;;
*)
echo "Error: Got an unexpected argument '$1'"