Merge pull request #1913 from restic/restic-password-stdin-message

Print message for password being read from stdin
This commit is contained in:
Alexander Neumann 2018-07-31 21:28:12 +02:00
commit be4f54b603
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ func ReadPassword(opts GlobalOptions, prompt string) (string, error) {
password, err = readPasswordTerminal(os.Stdin, os.Stderr, prompt)
} else {
password, err = readPassword(os.Stdin)
Verbosef("read password from stdin\n")
}
if err != nil {