From 683a728364490d0f6ccae52a5ea745f79d64895c Mon Sep 17 00:00:00 2001 From: Julien Garcia Gonzalez Date: Thu, 21 Sep 2017 08:53:07 +0200 Subject: [PATCH] update 1.1 Signed-off-by: Julien Garcia Gonzalez --- tests/1_host_configuration.sh | 2 ++ 1 file changed, 2 insertions(+) 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