mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-11-29 08:55:57 +00:00
Merge pull request #924 from Horbatenko/fix-jsonrpc2-atomic-write
write jsonrpc2.yml atomically
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -69,5 +69,5 @@ func (c *JsonRpc2ClientConfig) Persist(path string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
return ioutil.WriteFile(path, out, 0644)
|
||||
return writeFileAtomic(path, out, 0644)
|
||||
}
|
||||
Reference in new issue
Block a user