mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
journal: consider file deletion errors a reason for rotation
This commit is contained in:
parent
f27a386430
commit
b9a1617d75
@ -2780,7 +2780,8 @@ int journal_file_open_reliably(
|
||||
r != -EPROTONOSUPPORT && /* incompatible feature */
|
||||
r != -EBUSY && /* unclean shutdown */
|
||||
r != -ESHUTDOWN && /* already archived */
|
||||
r != -EIO /* IO error, including SIGBUS on mmap */)
|
||||
r != -EIO && /* IO error, including SIGBUS on mmap */
|
||||
r != -EIDRM /* File has been deleted */)
|
||||
return r;
|
||||
|
||||
if ((flags & O_ACCMODE) == O_RDONLY)
|
||||
|
Loading…
Reference in New Issue
Block a user