2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-03 09:30:50 +00:00

Merge pull request #1324 from antonlindstrom/password-feedback

Add password successful feedback
This commit is contained in:
Alexander Neumann 2017-10-04 21:31:24 +02:00
commit 5d1c1f721e

View File

@ -326,6 +326,10 @@ func OpenRepository(opts GlobalOptions) (*repository.Repository, error) {
return nil, err
}
if stdoutIsTerminal() {
Verbosef("password is correct\n")
}
if opts.NoCache {
return s, nil
}