From 4a9184e0a747cbf33f8d5aa908d7c44f1525f0c7 Mon Sep 17 00:00:00 2001 From: Eric Trautman Date: Mon, 16 Apr 2018 12:29:29 -0400 Subject: [PATCH] fix MONGO_HOST check when configuring docker container --- render-ws/src/main/scripts/docker/render-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render-ws/src/main/scripts/docker/render-config.sh b/render-ws/src/main/scripts/docker/render-config.sh index 7c0dc4e0b..3badecb00 100755 --- a/render-ws/src/main/scripts/docker/render-config.sh +++ b/render-ws/src/main/scripts/docker/render-config.sh @@ -50,7 +50,7 @@ JETTY_BASE=$(stripQuotes $JETTY_BASE) RENDER_DB_PROPERTIES="${JETTY_BASE}/resources/render-db.properties" -if [ -z "${MONGO_HOST}" ] & [ -z "${MONGO_CONNECTION_STRING}" ]; then +if [ -z "${MONGO_HOST}" ] && [ -z "${MONGO_CONNECTION_STRING}" ]; then echo "ERROR: either MONGO_HOST or MONGO_CONNECTION_STRING must be defined" exit 1 fi