diff --git a/plugins/check_users.c b/plugins/check_users.c
index e4ef681f6075227e38d2030692a43debddb1b9f8..4e7e9a29af20aebcab41c7b7952c5d7e0b0e2a0f 100644 (file)
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
result = possibly_set (result, STATE_UNKNOWN);
/* else check the user count against warning and critical thresholds */
- if (users >= cusers)
+ if (users > cusers)
result = STATE_CRITICAL;
- else if (users >= wusers)
+ else if (users > wusers)
result = STATE_WARNING;
else if (users >= 0)
result = STATE_OK;