-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…3828) Part of a small yak shave for #3817 The `atomicwrites` lib uses the atomic rename trick and does correct fsyncs for us, so if we lose power while rewriting or reverting `/etc/resolv.conf`, it should always be in a recoverable state. (Unless the hard drive lies about fsync, but then it's beyond our control.) --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
- Loading branch information
1 parent
85c5c4f
commit c6c4624
Showing
2 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters