diff --git a/changelog/unreleased/issue-3326 b/changelog/unreleased/issue-3326 index 72b25ea4b..c6246e489 100644 --- a/changelog/unreleased/issue-3326 +++ b/changelog/unreleased/issue-3326 @@ -5,4 +5,5 @@ via the standard snapshot filter, (`--tag`, `--host`, `--path` or specifying snapshot IDs directly) and will be used for checking the packfiles used by these snapshots. https://github.com/restic/restic/issues/3326 -https://github.com/restic/restic/pull/5213 +https://github.com/restic/restic/pull/5469 +https://github.com/restic/restic/pull/5644 diff --git a/cmd/restic/cmd_check.go b/cmd/restic/cmd_check.go index 7b85ceff8..6ec24baf2 100644 --- a/cmd/restic/cmd_check.go +++ b/cmd/restic/cmd_check.go @@ -48,6 +48,7 @@ Exit status is 12 if the password is incorrect. GroupID: cmdGroupDefault, DisableAutoGenTag: true, RunE: func(cmd *cobra.Command, args []string) error { + finalizeSnapshotFilter(&opts.SnapshotFilter) summary, err := runCheck(cmd.Context(), opts, *globalOptions, args, globalOptions.Term) if globalOptions.JSON { if err != nil && summary.NumErrors == 0 {