Windows fixes

This commit is contained in:
AlexSSD7 2023-09-03 14:08:24 +01:00
commit 1b69e6294d
7 changed files with 30 additions and 20 deletions

View file

@ -113,7 +113,7 @@ func (fm *FileManager) luksOpen(sc *ssh.Client, fullDevPath string) error {
return errors.Wrap(err, "write prompt to stderr")
}
pwd, err := term.ReadPassword(syscall.Stdin)
pwd, err := term.ReadPassword(int(syscall.Stdin))
if err != nil {
return errors.Wrap(err, "read luks password")
}