chiark / gitweb /
test: do not use last cap from kernel in test-cap-list
[elogind.git] / src / shared / ratelimit.c
index 1054d52f979ee8e493c52875a40d68b37994cc8e..01b62b7b384e25799b1d90a697290039e2a3cbd9 100644 (file)
@@ -46,7 +46,7 @@ bool ratelimit_test(RateLimit *r) {
                 goto good;
         }
 
-        if (r->num <= r->burst)
+        if (r->num < r->burst)
                 goto good;
 
         return false;