diff options
Diffstat (limited to 'internal/readpassword/read.go')
-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) |