Merge pull request #5322 from zmanda/fix-gh-5233-forget-failure-exit-codes

forget: return exit code 3 on partial removal of snapshots
This commit is contained in:
Michael Eischer authored and GitHub committed 2025-03-31 20:08:33 +02:00
commit f768683162
3 files changed
+19

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
Bugfix: forget command returns exit code 3 on partial removal of snapshots
The `forget` command now returns exit code 3 when it fails to remove one or
more snapshots. Previously, it returned exit code 0, which could lead to
confusion if the command was used in a script.
https://github.com/restic/restic/issues/5233
https://github.com/restic/restic/pull/5322