1
0
Fork 0
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:
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 {