Fix bug where /airtime* named vhosts could break installation

This commit is contained in:
Duncan Sommerville 2015-06-17 13:12:47 -04:00
parent 8d114c7d6e
commit ece81c3419
1 changed files with 1 additions and 1 deletions

View File

@ -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