diff options
| author | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
| commit | d804eb4399850fe828462b3a1832a4c9df1541f8 (patch) | |
| tree | 7af81040081cc7cded2c5a2a836dee9be445e0fc /rsh | |
| parent | d2745c0cca84ea006fa44edb4d9bbebffd35d917 (diff) | |
| download | rsend-d804eb4399850fe828462b3a1832a4c9df1541f8.tar.gz | |
app: write config atomically
A crash mid-write corrupted config.json, and every later load then
threw on parse, crash-looping the app until its data was cleared,
losing the key and pinned host. Write to a temp file and rename.
Diffstat (limited to 'rsh')
0 files changed, 0 insertions, 0 deletions