From 64850ca55a8bf2f5d41c0231886e9444acaae1ee Mon Sep 17 00:00:00 2001 From: Cabillot Julien Date: Sun, 15 Oct 2017 02:29:59 +0200 Subject: [PATCH] double quotes to expand $DB_TYPE --- root/etc/cont-init.d/98-wait-for-db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/98-wait-for-db b/root/etc/cont-init.d/98-wait-for-db index ee6774a..b03c1c0 100644 --- a/root/etc/cont-init.d/98-wait-for-db +++ b/root/etc/cont-init.d/98-wait-for-db @@ -8,7 +8,7 @@ ename='DB'; eport=5432; -if [ '$DB_TYPE' = 'mysql' ]; +if [ "$DB_TYPE" = 'mysql' ]; then eport=3306; dbhost=$DB_PORT_3306_TCP_ADDR