From ece81c341954056a4e1bed9b45d906669019b20b Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Wed, 17 Jun 2015 13:12:47 -0400 Subject: [PATCH] Fix bug where /airtime* named vhosts could break installation --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index e5c329903..86d184f2c 100755 --- a/install +++ b/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