Merge pull request #361 from ekho/bugfix/check_2_9

Fixed check 2.9
This commit is contained in:
Thomas Sjögren 2019-03-12 15:20:40 +00:00 committed by GitHub
commit b802f55f1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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