soju/cmd/sojuctl
delthas ed943f5451 Fix: Check the stdin scanner for errors when reading the password
Reading from stdin with Scanner.Scan() can either fail because of a read
error, or return no bytes because the EOF was reached.

This adds support for checking these cases before actually reading the
password.
2020-06-08 22:30:09 +02:00
..
main.go Fix: Check the stdin scanner for errors when reading the password 2020-06-08 22:30:09 +02:00