forked from TrueCloudLab/restic
Merge pull request #1324 from antonlindstrom/password-feedback
Add password successful feedback
This commit is contained in:
commit
5d1c1f721e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue