2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-03 18:38:20 +00:00

Merge pull request #2965 from MichaelEischer/rework-password-prompt

Clarify verbose password prompt
This commit is contained in:
rawtaz 2020-09-30 18:15:05 +02:00 committed by GitHub
commit 5ea01b00df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {