journal: fix cleaning up iovec entries
... when journald's messages exceed `kmsg_own_ratelimit`.
This commit is contained in:
committed by
Yu Watanabe
parent
92c9f787a7
commit
b4f2262be8
@@ -288,7 +288,7 @@ void dev_kmsg_record(Manager *m, char *p, size_t l) {
|
||||
* log_info() and friends to avoid infinite loops. */
|
||||
if (is_us(identifier, pid)) {
|
||||
if (!ratelimit_below(&m->kmsg_own_ratelimit))
|
||||
return;
|
||||
goto finish;
|
||||
|
||||
saved_log_max_level = log_get_max_level();
|
||||
c = m->my_context;
|
||||
|
||||
Reference in New Issue
Block a user