]> git.ipfire.org Git - thirdparty/systemd.git/commit
locale: make errors in writing files not critical
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Dec 2022 01:34:36 +0000 (10:34 +0900)
committerLuca Boccassi <bluca@debian.org>
Mon, 23 Jan 2023 11:30:03 +0000 (11:30 +0000)
commit50ec824570d31847a1abaa65fa03036cda2aa25a
tree414c48110065060a4a72188502ff03bb330fd599
parent4f34fd5d403e623e4ea8c0d8e20fae2b447e5f53
locale: make errors in writing files not critical

Suggested at https://github.com/systemd/systemd/pull/25805#discussion_r1054871210

> we now write multiple files and we cannot possibly guarantee that
> either both updates worked or neither. unix fs apis simply have
> no concept that would allow us to implement that. hence I think
> we should update what we can, log about what we cannot, but return
> success as long as our in-memory state was updated.
src/locale/localed.c