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
2025-03-31 20:08:33 +02:00
committed by GitHub
3 changed files with 19 additions and 0 deletions

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