Commit c8d8a76a authored by Cristian Maglie's avatar Cristian Maglie

Fixed test on Windows

parent 112e689d
......@@ -80,7 +80,7 @@ func run(cmd *cobra.Command, args []string) {
if passwordEmpty {
fmt.Print("Password: ")
pass, err := terminal.ReadPassword(syscall.Stdin)
pass, err := terminal.ReadPassword(int(syscall.Stdin))
if err != nil {
formatter.PrintError(err, "Cannot read password, login aborted.")
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment