mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Fix check condition
Signed-off-by: zawazawa0316 <37421794+zawazawa0316@users.noreply.github.com>
This commit is contained in:
parent
11da147df9
commit
b16da2c2ed
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ check_2_5() {
|
||||||
starttestjson "$id_2_5" "$desc_2_5"
|
starttestjson "$id_2_5" "$desc_2_5"
|
||||||
|
|
||||||
totalChecks=$((totalChecks + 1))
|
totalChecks=$((totalChecks + 1))
|
||||||
if docker info 2>/dev/null | grep -e "^Storage Driver:\s*aufs\s*$" >/dev/null 2>&1; then
|
if docker info 2>/dev/null | grep -e "^\sStorage Driver:\s*aufs\s*$" >/dev/null 2>&1; then
|
||||||
warn "$check_2_5"
|
warn "$check_2_5"
|
||||||
resulttestjson "WARN"
|
resulttestjson "WARN"
|
||||||
currentScore=$((currentScore - 1))
|
currentScore=$((currentScore - 1))
|
||||||
|
|
Loading…
Reference in a new issue