mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 06:22:32 +01:00
Print Section B only if it contains remediation measures
This commit is contained in:
parent
82bbe1d562
commit
b3a36e8d94
1 changed files with 4 additions and 2 deletions
|
@ -196,8 +196,10 @@ main () {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
logit "\n\n${bldylw}Section B - Remediation measures${txtrst}"
|
if [ -n "${globalRemediation}" ]; then
|
||||||
logit "${globalRemediation}"
|
logit "\n\n${bldylw}Section B - Remediation measures${txtrst}"
|
||||||
|
logit "${globalRemediation}"
|
||||||
|
fi
|
||||||
|
|
||||||
logit "\n\n${bldylw}Section C - Score${txtrst}\n"
|
logit "\n\n${bldylw}Section C - Score${txtrst}\n"
|
||||||
info "Checks: $totalChecks"
|
info "Checks: $totalChecks"
|
||||||
|
|
Loading…
Reference in a new issue