mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 05:12:10 +00:00
clarify verbose password prompt
This commit is contained in:
parent
94136132e3
commit
aea9f7d286
@ -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