mirror of
https://github.com/octoleo/restic.git
synced 2025-01-25 16:18:34 +00:00
Print repository ID after opening
This commit is contained in:
parent
d926b9fd80
commit
d8bbe5dc84
@ -355,7 +355,11 @@ func OpenRepository(opts GlobalOptions) (*repository.Repository, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if stdoutIsTerminal() {
|
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 {
|
if opts.NoCache {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user