From 1a832d068e58fb23d57b6f3f2229c7f8b97eb8ff Mon Sep 17 00:00:00 2001 From: William Mantly Date: Sat, 1 Aug 2026 02:17:29 -0400 Subject: [PATCH] Fix shellcheck warning SC2155 --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 21b9fcd..42ca693 100755 --- a/setup.sh +++ b/setup.sh @@ -694,7 +694,8 @@ if echo "$status_json" | grep -q '"sealed": true'; then docker exec openbao bao operator unseal "$UNSEAL_KEY" >/dev/null fi -export VAULT_TOKEN=$(grep '"root_token":' "$CONFIG_DIR/bao-init.json" | cut -d'"' -f4) +export VAULT_TOKEN +VAULT_TOKEN=$(grep '"root_token":' "$CONFIG_DIR/bao-init.json" | cut -d'"' -f4) env_upsert VAULT_TOKEN "$VAULT_TOKEN" if ! docker exec -e BAO_TOKEN="$VAULT_TOKEN" openbao bao secrets list -format=json 2>/dev/null | grep -q '"secret/":'; then