fix directory not found for 1.9

This commit is contained in:
root 2015-06-28 14:39:46 +00:00
parent 23a74b5bd0
commit d603f806d1

View file

@ -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