diff --git a/cmd/restic/global.go b/cmd/restic/global.go index 6f9d657e3..6fe026bc9 100644 --- a/cmd/restic/global.go +++ b/cmd/restic/global.go @@ -355,7 +355,11 @@ func OpenRepository(opts GlobalOptions) (*repository.Repository, error) { } if stdoutIsTerminal() { - Verbosef("password is correct\n") + id := s.Config().ID + if len(id) > 8 { + id = id[:8] + } + Verbosef("repository %v opened successfully, password is correct\n", id) } if opts.NoCache {