project: bootstrap: unlock BW when logged in

This commit is contained in:
Bruno BELANYI 2021-04-07 17:55:26 +00:00
parent 9dbfb65c27
commit 75e3d9bf70

View file

@ -78,7 +78,7 @@ get_pgp() {
}
get_creds() {
BW_SESSION="$(bw login --raw)"
BW_SESSION="$(bw login --raw || bw unlock --raw)"
export BW_SESSION
get_ssh