Skip to content

fix: handle closed stdout while listing snapshots - #1887

Open
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:fix/issue-1878-broken-pipe
Open

fix: handle closed stdout while listing snapshots#1887
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:fix/issue-1878-broken-pipe

Conversation

@magrathean-uk

Copy link
Copy Markdown
Contributor

Summary

  • use fallible stdout writes for snapshot output
  • treat an expected BrokenPipe as clean early termination
  • cover the shared rewrite dry-run output path and JSON writer path

Fixes #1878

Validation

  • cargo fmt --check
  • cargo clippy --locked --all-targets --features release -- -D warnings
  • cargo test --locked --lib

@magrathean-uk
magrathean-uk marked this pull request as ready for review August 25, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustic-rs Crash Report

1 participant