parent
3366a31e93
commit
3b7a26e419
|
@ -233,7 +233,7 @@ register_bouncer() {
|
||||||
## Register bouncers via env
|
## Register bouncers via env
|
||||||
for BOUNCER in $(compgen -A variable | grep -i BOUNCER_KEY); do
|
for BOUNCER in $(compgen -A variable | grep -i BOUNCER_KEY); do
|
||||||
KEY=$(printf '%s' "${!BOUNCER}")
|
KEY=$(printf '%s' "${!BOUNCER}")
|
||||||
NAME=$(printf '%s' "$BOUNCER" | cut -d_ -f2-)
|
NAME=$(printf '%s' "$BOUNCER" | cut -d_ -f3-)
|
||||||
if [[ -n $KEY ]] && [[ -n $NAME ]]; then
|
if [[ -n $KEY ]] && [[ -n $NAME ]]; then
|
||||||
register_bouncer
|
register_bouncer
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue