fix-check_2_8

This commit is contained in:
TBF + Partner AG 2024-11-19 23:53:50 +01:00 committed by GitHub
parent ff26d67f25
commit 785a15df74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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