Skip to content
Snippets Groups Projects
  • Yu Qi Zhang's avatar
    a6d08657
    fdio: Delete .tmp file on failure · a6d08657
    Yu Qi Zhang authored
    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.
    a6d08657
    History
    fdio: Delete .tmp file on failure
    Yu Qi Zhang authored
    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.