journald: make sure shall_try_append_again() logs about all return codes passed in, not just some

This commit is contained in:
Lennart Poettering 2023-02-27 15:35:01 +01:00
parent 7c78a19322
commit d6df3bfbb8

View file

@ -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;
}
}