aboutsummaryrefslogtreecommitdiff
path: root/src/docker-in-docker/install.sh
diff options
context:
space:
mode:
authorCharlie Andrews <cwndrws@github.com>2022-10-17 18:26:58 +0300
committerGitHub <noreply@github.com>2022-10-17 18:26:58 +0300
commit2c82571f42dc148b0cd9fe38381fde35263c2b28 (patch)
tree3c37e3afda0eb94c7aea45131c120e09be18b333 /src/docker-in-docker/install.sh
parent530997ce54c3906c8eab0691249482b32427dc4f (diff)
Quote var in comparison in docker-in-docker install script (#224)
Diffstat (limited to 'src/docker-in-docker/install.sh')
-rwxr-xr-xsrc/docker-in-docker/install.sh2
1 files changed, 1 insertions, 1 deletions
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"