diff options
author | Charlie Andrews <cwndrws@github.com> | 2022-10-17 18:26:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 18:26:58 +0300 |
commit | 2c82571f42dc148b0cd9fe38381fde35263c2b28 (patch) | |
tree | 3c37e3afda0eb94c7aea45131c120e09be18b333 /src/docker-in-docker | |
parent | 530997ce54c3906c8eab0691249482b32427dc4f (diff) |
Quote var in comparison in docker-in-docker install script (#224)
Diffstat (limited to 'src/docker-in-docker')
-rwxr-xr-x | src/docker-in-docker/install.sh | 2 |
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" |