mirror of
https://github.com/restic/restic.git
synced 2024-12-26 01:37:12 +00:00
Merge pull request #2965 from MichaelEischer/rework-password-prompt
Clarify verbose password prompt
This commit is contained in:
commit
5ea01b00df
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue