diff --git a/CHANGELOG.md b/CHANGELOG.md index c093720..70a0b9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +* bkctld-check-setup: forgot to increment the summary + ### Security ## [2.4.0] - 2020-08-19 diff --git a/lib/bkctld-check-setup b/lib/bkctld-check-setup index 1e68989..edfe9db 100755 --- a/lib/bkctld-check-setup +++ b/lib/bkctld-check-setup @@ -63,6 +63,7 @@ for jail_name in $(jails_list); do done if [ "${nb_off}" -eq 0 ]; then output="${output}OK - all jails are in their expected state.\n" + nb_ok=$((nb_ok + 1)) else output="${output}CRITICAL - ${nb_off} jail(s) shouldn't be OFF !\n" nb_crit=$((nb_crit + 1))