aboutsummaryrefslogtreecommitdiff
path: root/masterkey.go
diff options
context:
space:
mode:
Diffstat (limited to 'masterkey.go')
-rw-r--r--masterkey.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/masterkey.go b/masterkey.go
index c67f115..1b4d9c3 100644
--- a/masterkey.go
+++ b/masterkey.go
@@ -103,7 +103,9 @@ func getMasterKey(args *argContainer) (masterkey []byte, confFile *configfile.Co
}
exitcodes.Exit(err)
}
- readpassword.CheckTrailingGarbage()
+ if !args.trezor {
+ readpassword.CheckTrailingGarbage()
+ }
if !args.fsck {
// We only want to print the masterkey message on a normal mount.
printMasterKey(masterkey)