mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Fixed check 2.9
Signed-off-by: Boris Gorbylev <ekho@ekho.name>
This commit is contained in:
parent
f8be7239e5
commit
689a5a62c5
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ check_2_9() {
|
|||
starttestjson "$id_2_9" "$desc_2_9"
|
||||
|
||||
totalChecks=$((totalChecks + 1))
|
||||
if get_docker_configuration_file_args 'cgroup-parent' | grep -v '""'; then
|
||||
if get_docker_configuration_file_args 'cgroup-parent' | grep -v ''; then
|
||||
warn "$check_2_9"
|
||||
info " * Confirm cgroup usage"
|
||||
resulttestjson "WARN" "Confirm cgroup usage"
|
||||
|
|
Loading…
Reference in a new issue