]> git.ipfire.org Git - thirdparty/systemd.git/commit
fs-util: Clean up properly in xopenat_full() on labelling error
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 23 Jul 2024 19:35:08 +0000 (21:35 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Jul 2024 16:58:41 +0000 (18:58 +0200)
commit32dfe3b63e609bc584ce8fd9b0f8380def9da0c1
tree0a1c2c85b51a4b541c14a1971347b537c6c32b8f
parent0dd82dab91eaac5e7b17bd5e9a1e07c6d2b78dca
fs-util: Clean up properly in xopenat_full() on labelling error

If we fail to relabel the file, we should unlink the file or directory
again, so let's make sure we do that.
src/basic/fs-util.c