Skip to content

Commit 89bf7a1

Browse files
committed
logout first
1 parent 578debf commit 89bf7a1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ if [ -z "${BW_HOST:-}" ]; then
1414
exit 2
1515
fi
1616

17+
# Ensure we are logged out before changing server config to avoid:
18+
# "Logout required before server config update."
19+
bw logout >/dev/null 2>&1 || true
20+
1721
# Point CLI to the desired server (US/EU/self-hosted)
18-
bw config server "${BW_HOST}"
22+
bw config server "${BW_HOST}" >/dev/null 2>&1
1923

2024
login_with_apikey() {
2125
echo "Using API key to log in"

0 commit comments

Comments
 (0)