mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-08 14:04:27 -04:00
fdio: Delete .tmp file on failure
We noticed the temp files being left over in ostree when (mistakenly) trying to replace the contents of a subpath that wasn't a directory. In the future we should look at the systemd code using `O_TMPFILE` here.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f