From a4abc2edd89e3323f77337dc48d0d35b799dd0e2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 7 Apr 2021 17:55:26 +0000 Subject: [PATCH] project: bootstrap: unlock BW when logged in --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index a3f9ac9..8f97c5e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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