diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c index e4ef681..4e7e9a2 100644 --- a/plugins/check_users.c +++ b/plugins/check_users.c | |||
@@ -108,9 +108,9 @@ main (int argc, char **argv) | |||
108 | result = possibly_set (result, STATE_UNKNOWN); | 108 | result = possibly_set (result, STATE_UNKNOWN); |
109 | 109 | ||
110 | /* else check the user count against warning and critical thresholds */ | 110 | /* else check the user count against warning and critical thresholds */ |
111 | if (users >= cusers) | 111 | if (users > cusers) |
112 | result = STATE_CRITICAL; | 112 | result = STATE_CRITICAL; |
113 | else if (users >= wusers) | 113 | else if (users > wusers) |
114 | result = STATE_WARNING; | 114 | result = STATE_WARNING; |
115 | else if (users >= 0) | 115 | else if (users >= 0) |
116 | result = STATE_OK; | 116 | result = STATE_OK; |