]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commit
nsscash: convert: create file atomically
authorSimon Ruderich <simon@ruderich.org>
Fri, 14 Jun 2019 18:28:29 +0000 (20:28 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 14 Jun 2019 18:28:29 +0000 (20:28 +0200)
commit73d81832a59ada7f3713bd8ab5ea6c3bca54f01b
treeb12a898b3f16ad909f3f2d684c29f682f6910d47
parent78239472f30846add39a4f14455cc92aba8ea79b
nsscash: convert: create file atomically

Previously the file was first truncated or created and then written to.
Although "convert" is not designed to be used for deployment, it is a
unexpected behavior.
main.go