1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 08:44:52 +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
}