upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorbbareth <179921368+BBareth@users.noreply.github.com>2026-11-22 06:35:43 +0100
committerbbareth <179921368+BBareth@users.noreply.github.com>2026-11-22 06:35:43 +0100
commit549d8ee955ce85f50bbb136120a1f0a123706565 (patch)
tree3073c92bda2f09ac0f950772ea57ae5f01fd11b9 /runtime/src/main.cpp
parent067d3e8b97189fcf272dc699fdbb871eae496660 (diff)
rpf_probe.py: a failed report write keeps the previous survey
main() opened the output with "w" and then dumped the rows, so a write that failed partway (a full disk, a file-size limit) left the previous survey truncated to a partial JSON. The report is now written to a temporary file in the output's folder and renamed into place; a failed write is one ERROR line, exit 2, and the old report is untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions