mirror of
https://github.com/restic/restic.git
synced 2025-08-14 03:57:46 +00:00
Merge pull request #1324 from antonlindstrom/password-feedback
Add password successful feedback
This commit is contained in:
@@ -326,6 +326,10 @@ func OpenRepository(opts GlobalOptions) (*repository.Repository, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if stdoutIsTerminal() {
|
||||||
|
Verbosef("password is correct\n")
|
||||||
|
}
|
||||||
|
|
||||||
if opts.NoCache {
|
if opts.NoCache {
|
||||||
return s, nil
|
return s, nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user