project: bootstrap: unlock BW when logged in

This commit is contained in:
Bruno BELANYI 2021-04-07 17:55:26 +00:00
parent ad2c5dd209
commit a4abc2edd8
1 changed files with 1 additions and 1 deletions

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