From 2c82571f42dc148b0cd9fe38381fde35263c2b28 Mon Sep 17 00:00:00 2001 From: Charlie Andrews Date: Mon, 17 Oct 2022 11:26:58 -0400 Subject: Quote var in comparison in docker-in-docker install script (#224) --- src/docker-in-docker/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/docker-in-docker/install.sh') diff --git a/src/docker-in-docker/install.sh b/src/docker-in-docker/install.sh index edcc221..c51e57c 100755 --- a/src/docker-in-docker/install.sh +++ b/src/docker-in-docker/install.sh @@ -369,7 +369,7 @@ dockerd_start="$(cat << 'INNEREOF' # Handle DNS set +e cat /etc/resolv.conf | grep -i 'internal.cloudapp.net' - if [ $? -eq 0 ] && [ ${AZURE_DNS_AUTO_DETECTION} = "true" ] + if [ $? -eq 0 ] && [ "${AZURE_DNS_AUTO_DETECTION}" = "true" ] then echo "Setting dockerd Azure DNS." CUSTOMDNS="--dns 168.63.129.16" -- cgit v1.2.3