mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 05:12:10 +00:00
Merge pull request #2965 from MichaelEischer/rework-password-prompt
Clarify verbose password prompt
This commit is contained in:
commit
5ea01b00df
@ -347,7 +347,7 @@ func ReadPassword(opts GlobalOptions, prompt string) (string, error) {
|
|||||||
password, err = readPasswordTerminal(os.Stdin, os.Stderr, prompt)
|
password, err = readPasswordTerminal(os.Stdin, os.Stderr, prompt)
|
||||||
} else {
|
} else {
|
||||||
password, err = readPassword(os.Stdin)
|
password, err = readPassword(os.Stdin)
|
||||||
Verbosef("read password from stdin\n")
|
Verbosef("reading repository password from stdin\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user