mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
fix-check_2_8
This commit is contained in:
parent
ff26d67f25
commit
785a15df74
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ check_2_8() {
|
||||||
local check="$id - $desc"
|
local check="$id - $desc"
|
||||||
starttestjson "$id" "$desc"
|
starttestjson "$id" "$desc"
|
||||||
|
|
||||||
if [[ $(get_docker_configuration_file_args 'default-ulimits' | grep -v '{}') ]] && [[ $(get_docker_configuration_file_args 'default-ulimits' | grep -v '{}') != "null" ]] ; then
|
if [ "$(get_docker_configuration_file_args 'default-ulimits')" != "" ] && [ "$(get_docker_configuration_file_args 'default-ulimits' | grep -v '{}')" ]; then
|
||||||
pass -c "$check"
|
pass -c "$check"
|
||||||
logcheckresult "PASS"
|
logcheckresult "PASS"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue