mirror of
https://github.com/restic/restic.git
synced 2025-12-16 00:42:46 +00:00
forget: Error when invalid unit is given in duration policy
This commit is contained in:
8
changelog/unreleased/issue-3861
Normal file
8
changelog/unreleased/issue-3861
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Yield error on invalid policy to `forget`
|
||||
|
||||
The `forget` command previously silently ignored invalid/unsupported
|
||||
units in the duration options, such as e.g. `--keep-within-daily 2w`.
|
||||
|
||||
Specifying an invalid/unsupported duration unit now results in an error.
|
||||
|
||||
https://github.com/restic/restic/issues/3861
|
||||
Reference in New Issue
Block a user