diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 18:13:31 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 18:13:31 +0100 |
commit | 2cd96429dba2cc8170a9d8dbcdb7db46902661de (patch) | |
tree | ac25fc0168dcaaa0d7b49d245622b76c48e35b85 /src/version.h | |
parent | wg-quick: allow for saving existing interface (diff) | |
download | wireguard-monolithic-historical-2cd96429dba2cc8170a9d8dbcdb7db46902661de.tar.xz wireguard-monolithic-historical-2cd96429dba2cc8170a9d8dbcdb7db46902661de.zip |
wg-quick: fsync the temporary file before renaming
This ensures that on an unclean shutdown, we either see the old content
or the new content, but not empty content.
Suggested-by: Ka Ho Ng <ngkaho1234@gmail.com>
Diffstat (limited to 'src/version.h')
0 files changed, 0 insertions, 0 deletions