mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
Let's always make sure the temporary file returned by fopen_tmpfile() and friends is removed on failure (via _cleanup_). Conversely, make sure that once the file is renamed into its final place, we no longer try to remove the temporary file (since it's not going to exist anymore).