Fix bug where /airtime* named vhosts could break installation
This commit is contained in:
parent
8d114c7d6e
commit
ece81c3419
2
install
2
install
|
@ -551,7 +551,7 @@ EXCHANGES="airtime-pypo|pypo-fetch|airtime-media-monitor|media-monitor"
|
|||
|
||||
# Ignore errors in this check to avoid dying when vhost isn't found
|
||||
set +e
|
||||
rabbitmqctl list_vhosts | grep -w ${RABBITMQ_VHOST} > /dev/null
|
||||
rabbitmqctl list_vhosts | grep -w "^${RABBITMQ_VHOST}$" > /dev/null
|
||||
RESULT="$?"
|
||||
set -e
|
||||
|
||||
|
|
Loading…
Reference in New Issue