Merge pull request #924 from Horbatenko/fix-jsonrpc2-atomic-write

write jsonrpc2.yml atomically
This commit is contained in:
Bernhard B. authored and GitHub committed 2026-11-24 22:42:06 +01:00
commit 1298998b1c
1 file changed
+1 -1
+1 -1
View File
@@ -69,5 +69,5 @@ func (c *JsonRpc2ClientConfig) Persist(path string) error {
return err
}
return ioutil.WriteFile(path, out, 0644)
return writeFileAtomic(path, out, 0644)
}