Skip to content

Commit

Permalink
docker: correctly extract BOUNCER_KEY_* (fix #1912) (#1913)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Dec 6, 2022
1 parent cc228f1 commit 10ee07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ register_bouncer() {
## Register bouncers via env
for BOUNCER in $(compgen -A variable | grep -i BOUNCER_KEY); do
KEY=$(printf '%s' "${!BOUNCER}")
NAME=$(printf '%s' "$BOUNCER" | cut -d_ -f2-)
NAME=$(printf '%s' "$BOUNCER" | cut -d_ -f3-)
if [[ -n $KEY ]] && [[ -n $NAME ]]; then
register_bouncer
fi
Expand Down

0 comments on commit 10ee07c

Please sign in to comment.