Fixed compilation on Windows
This commit is contained in:
parent
7ca7675a85
commit
b370513d15
|
@ -29,7 +29,7 @@ func ensurePassword(password *string, name string) {
|
|||
}
|
||||
|
||||
print(name + " password: ")
|
||||
b, err := terminal.ReadPassword(syscall.Stdin)
|
||||
b, err := terminal.ReadPassword(int(syscall.Stdin))
|
||||
println()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in New Issue