mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
journald: make sure shall_try_append_again() logs about all return codes passed in, not just some
This commit is contained in:
parent
7c78a19322
commit
d6df3bfbb8
|
@ -894,6 +894,7 @@ static bool shall_try_append_again(JournalFile *f, int r) {
|
|||
return false;
|
||||
|
||||
default:
|
||||
log_ratelimit_error_errno(r, JOURNAL_LOG_RATELIMIT, "%s: Unexpected error while writing to journal file: %m", f->path);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue