Add a missing error check on rename(2) when shifting compressed
log files. On failure, warn and skip the affected file.
Signed-off-by: Christos Longros <chris.longros@gmail.com>
Differential D56088
newsyslog: check for rename failure during log rotation Authored by longros on Mar 25 2026, 7:04 PM.
Details Add a missing error check on rename(2) when shifting compressed Signed-off-by: Christos Longros <chris.longros@gmail.com>
Diff Detail
Event TimelineComment Actions warn wouldn't seem to be ideal to me, but it matches how everything else is reported for 'routine' or 'expected' errors.
| ||||||||||||||||||||||||||