diff options
| author | Jakob Unterwurzacher | 2017-02-12 13:55:15 +0100 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2017-02-12 13:55:30 +0100 | 
| commit | 2dd90ac19ce97544c412d90a24df0f68e66311db (patch) | |
| tree | 850de0e847bd68385e638fa7ec137c9ea8f641a2 | |
| parent | 1e9d7354069d2f619ca61f8427e2c8fc701249e3 (diff) | |
readpassword: improve comment on readPasswordStdin
| -rw-r--r-- | internal/readpassword/read.go | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/internal/readpassword/read.go b/internal/readpassword/read.go index f00b425..49cf8ef 100644 --- a/internal/readpassword/read.go +++ b/internal/readpassword/read.go @@ -66,8 +66,8 @@ func readPasswordTerminal(prompt string) string {  	return string(p)  } -// readPasswordStdin reads a line from stdin -// Exits on read error or empty result. +// readPasswordStdin reads a line from stdin. +// It exits with a fatal error on read error or empty result.  func readPasswordStdin() string {  	tlog.Info.Println("Reading password from stdin")  	p := readLineUnbuffered(os.Stdin) | 
