We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1721253 commit d5b900cCopy full SHA for d5b900c
tests/1_host_configuration.sh
@@ -18,11 +18,7 @@ check_1_1() {
18
19
totalChecks=$((totalChecks + 1))
20
21
- if grep /var/lib/docker /etc/fstab >/dev/null 2>&1; then
22
- pass "$check_1_1"
23
- resulttestjson "PASS"
24
- currentScore=$((currentScore + 1))
25
- elif mountpoint -q -- /var/lib/docker >/dev/null 2>&1; then
+ if mountpoint -q -- "$(docker info -f '{{ .DockerRootDir }}')" >/dev/null 2>&1; then
26
pass "$check_1_1"
27
resulttestjson "PASS"
28
currentScore=$((currentScore + 1))
0 commit comments