diff --git a/tests/1_host_configuration.sh b/tests/1_host_configuration.sh index 10c3116..e188779 100644 --- a/tests/1_host_configuration.sh +++ b/tests/1_host_configuration.sh @@ -8,6 +8,8 @@ auditrules="/etc/audit/audit.rules" check_1_1="1.1 - Ensure a separate partition for containers has been created" if grep /var/lib/docker /etc/fstab >/dev/null 2>&1; then pass "$check_1_1" +elif mountpoint -q -- /var/lib/docker >/dev/null 2>&1; then + pass "$check_1_1" else warn "$check_1_1" fi