Fix linting

This commit is contained in:
AlexSSD7 2023-09-03 15:48:18 +01:00
commit 30e7057e0e

View file

@ -113,7 +113,7 @@ func (fm *FileManager) luksOpen(sc *ssh.Client, fullDevPath string) error {
return errors.Wrap(err, "write prompt to stderr") return errors.Wrap(err, "write prompt to stderr")
} }
pwd, err := term.ReadPassword(int(syscall.Stdin)) pwd, err := term.ReadPassword(int(syscall.Stdin)) //nolint:unconvert // On Windows it's a different non-int type.
if err != nil { if err != nil {
return errors.Wrap(err, "read luks password") return errors.Wrap(err, "read luks password")
} }