backup: prevent hang using --stdin-from-command if upload fails (#21829)

This commit is contained in:
Michael Eischer authored and GitHub committed 2026-05-31 15:27:05 +02:00
1 parent 451cc6c048
commit ce24640d75
3 files changed
+24

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Bugfix: Prevent `backup --stdin-from-command` from hanging
When using `--stdin-from-command`, the `backup` command could hang until
manually cancelled if the backup stopped before all subprocess output was
consumed, for example after a failed upload to the repository. This has been
fixed.
https://github.com/restic/restic/issues/5683
https://github.com/restic/restic/pull/21829