Fix linting
This commit is contained in:
parent
545ed28e71
commit
30e7057e0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue