bkctld-check-setup: forgot to increment the summary
This commit is contained in:
parent
e5d40f8fe4
commit
39901967a7
|
@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* bkctld-check-setup: forgot to increment the summary
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [2.4.0] - 2020-08-19
|
## [2.4.0] - 2020-08-19
|
||||||
|
|
|
@ -63,6 +63,7 @@ for jail_name in $(jails_list); do
|
||||||
done
|
done
|
||||||
if [ "${nb_off}" -eq 0 ]; then
|
if [ "${nb_off}" -eq 0 ]; then
|
||||||
output="${output}OK - all jails are in their expected state.\n"
|
output="${output}OK - all jails are in their expected state.\n"
|
||||||
|
nb_ok=$((nb_ok + 1))
|
||||||
else
|
else
|
||||||
output="${output}CRITICAL - ${nb_off} jail(s) shouldn't be OFF !\n"
|
output="${output}CRITICAL - ${nb_off} jail(s) shouldn't be OFF !\n"
|
||||||
nb_crit=$((nb_crit + 1))
|
nb_crit=$((nb_crit + 1))
|
||||||
|
|
Loading…
Reference in a new issue