diff --git a/cmd/restic/cmd_cat.go b/cmd/restic/cmd_cat.go index 98c97a5a5..e735daf88 100644 --- a/cmd/restic/cmd_cat.go +++ b/cmd/restic/cmd_cat.go @@ -58,7 +58,7 @@ func runCat(gopts GlobalOptions, args []string) error { // find snapshot id with prefix id, err = restic.FindSnapshot(repo, args[1]) if err != nil { - return err + return errors.Fatalf("could not find snapshot: %v\n", err) } } }