Make script executable and remove brackets

This commit is contained in:
2026-03-01 21:15:10 -05:00
parent cc8f567d1f
commit 2955b980a5

6
piawg.sh Normal file → Executable file
View File

@@ -106,9 +106,9 @@ fi
: "${BAO_PATH_TOKEN:=piawg/session/token}" : "${BAO_PATH_TOKEN:=piawg/session/token}"
# Must set these in PIAWG_CONF # Must set these in PIAWG_CONF
: "${BAO_ADDR:?\[ERROR\]: BAO_ADDR is not set}" : "${BAO_ADDR:?[ERROR]: BAO_ADDR is not set}"
: "${BAO_ROLE:?\[ERROR\]: BAO_ROLE is not set}" : "${BAO_ROLE:?[ERROR]: BAO_ROLE is not set}"
: "${BAO_SECRET:?\[ERROR\]: BAO_SECRET is not set}" : "${BAO_SECRET:?[ERROR]: BAO_SECRET is not set}"
# Get ephemeral session token from AppRole login # Get ephemeral session token from AppRole login
if ! bao_token_reply=$(curl -sS \ if ! bao_token_reply=$(curl -sS \