delete unnecessary conversion

This commit is contained in:
r_takaishi 2020-03-06 14:22:08 +09:00
parent e2df4a80f8
commit 92c36eea8c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func KeyboardInteractive() ssh.KeyboardInteractiveChallenge {
}
answers := make([]string, len(questions))
for i := range questions {
s, err := terminal.ReadPassword(int(syscall.Stdin))
s, err := terminal.ReadPassword(syscall.Stdin)
if err != nil {
return nil, err
}