mirror of
https://github.com/morgan9e/systemd
synced 2026-04-16 01:16:10 +09:00
journald: make sure shall_try_append_again() logs about all return codes passed in, not just some
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user