aboutsummaryrefslogtreecommitdiff
path: root/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker-in-docker/azureDnsAutoDetectionDisabled.sh')
-rw-r--r--test/docker-in-docker/azureDnsAutoDetectionDisabled.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh b/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
index d3f4159..2415116 100644
--- a/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
+++ b/test/docker-in-docker/azureDnsAutoDetectionDisabled.sh
@@ -6,7 +6,7 @@ set -e
source dev-container-features-test-lib
# Definition specific tests
-check "dns flag should not be present" test ! "$(ps -ax | grep -E 'dockerd.+\-\-dns')"
+check "dns flag should not be present" test ! "$(ps -ax | grep -v grep | grep -E 'dockerd.+\-\-dns')"
# Report result
reportResults \ No newline at end of file