From d603f806d17cc8bb562f575f05137ea634e6884d Mon Sep 17 00:00:00 2001
From: root <root@rescue.ovh.net>
Date: Sun, 28 Jun 2015 14:39:46 +0000
Subject: [PATCH] fix directory not found for 1.9

---
 tests/1_host_configuration.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/1_host_configuration.sh b/tests/1_host_configuration.sh
index d97a1ba..3a03c6c 100644
--- a/tests/1_host_configuration.sh
+++ b/tests/1_host_configuration.sh
@@ -72,7 +72,7 @@ fi
 # 1.9
 check_1_9="1.9  - Audit Docker files and directories - /var/lib/docker"
 directory="/var/lib/docker"
-if [ -d "$file" ]; then
+if [ -d "$directory" ]; then
   command -v auditctl >/dev/null 2>&1
   if [ $? -eq 0 ]; then
     auditctl -l | grep $directory >/dev/null 2>&1