mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
Compute numbers in output summary correctly
This commit is contained in:
parent
46563cea2b
commit
3e8cef3721
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ char *get_subcheck_summary(mp_check check) {
|
|||
unsigned int critical = 0;
|
||||
unsigned int unknown = 0;
|
||||
while (subchecks != NULL) {
|
||||
switch (subchecks->subcheck.state) {
|
||||
switch (mp_compute_subcheck_state(subchecks->subcheck)) {
|
||||
case STATE_OK:
|
||||
ok++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue