mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Fix wrong return state in threshold function
This commit is contained in:
parent
6e108cc25e
commit
0205694ce9
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ mp_state_enum mp_get_pd_status(mp_perfdata perfdata) {
|
|||
}
|
||||
if (perfdata.warn_present) {
|
||||
if (mp_check_range(perfdata.value, perfdata.warn)) {
|
||||
return STATE_CRITICAL;
|
||||
return STATE_WARNING;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue