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 chris.longros_gmail.com on Wed, Mar 25, 7:04 PM. Tags None Referenced Files
Subscribers
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.
This comment was removed by chris.longros_gmail.com.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||