chore: remove unused nullglob
This commit is contained in:
1 parent
c788659b63
commit
1e8831d9a0
1 file changed
-2
@@ -228,10 +228,8 @@ nginx_build_config() {
|
|||||||
|
|
||||||
if [[ -z "$DOKKU_DISABLE_PROXY" ]]; then
|
if [[ -z "$DOKKU_DISABLE_PROXY" ]]; then
|
||||||
if [[ -z "$DOKKU_APP_LISTEN_PORT" ]] && [[ -z "$DOKKU_APP_LISTEN_IP" ]]; then
|
if [[ -z "$DOKKU_APP_LISTEN_PORT" ]] && [[ -z "$DOKKU_APP_LISTEN_IP" ]]; then
|
||||||
shopt -s nullglob
|
|
||||||
local DOKKU_APP_LISTENERS="$(plugn trigger network-get-listeners "$APP")"
|
local DOKKU_APP_LISTENERS="$(plugn trigger network-get-listeners "$APP")"
|
||||||
local DOKKU_APP_LISTENERS="$(echo "$DOKKU_APP_LISTENERS" | xargs)"
|
local DOKKU_APP_LISTENERS="$(echo "$DOKKU_APP_LISTENERS" | xargs)"
|
||||||
shopt -u nullglob
|
|
||||||
elif [[ -n "$DOKKU_APP_LISTEN_PORT" ]] && [[ -n "$DOKKU_APP_LISTEN_IP" ]]; then
|
elif [[ -n "$DOKKU_APP_LISTEN_PORT" ]] && [[ -n "$DOKKU_APP_LISTEN_IP" ]]; then
|
||||||
local PASSED_LISTEN_IP_PORT=true
|
local PASSED_LISTEN_IP_PORT=true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user