mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 11:30:43 +01:00
imjournal: rate limiter was destructed too early
Too quick hacking, obviously, one too late, one too early, now it should fit ;) Thanks to Tomas Heinrich for pointing this out.
This commit is contained in:
parent
1f6d402d50
commit
3911b41420
@ -604,11 +604,11 @@ ENDwillRun
|
||||
/* close journal */
|
||||
BEGINafterRun
|
||||
CODESTARTafterRun
|
||||
ratelimitDestruct(ratelimiter);
|
||||
if (cs.stateFile) { /* can't persist without a state file */
|
||||
persistJournalState();
|
||||
}
|
||||
sd_journal_close(j);
|
||||
ratelimitDestruct(ratelimiter);
|
||||
ENDafterRun
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user