Guest User

Untitled

a guest
Jun 23rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. diff --git a/internal/readpassword/trezor.go b/internal/readpassword/trezor.go
  2. index c0cc450..ab35005 100644
  3. --- a/internal/readpassword/trezor.go
  4. +++ b/internal/readpassword/trezor.go
  5. @@ -1,6 +1,7 @@
  6. package readpassword
  7.  
  8. import (
  9. + "fmt"
  10. "os"
  11.  
  12. "github.com/rfjakob/gocryptfs/internal/exitcodes"
  13. @@ -50,6 +51,10 @@ func Trezor() []byte {
  14. }
  15. if len(trezors) > 1 {
  16. tlog.Fatal.Printf("It's more than one Trezor device connected. This case is not implemented, yet. The number of currently connected devices: %v.", len(trezors))
  17. + fmt.Printf("trezors=%#v\n", trezors)
  18. + for i, v := range trezors {
  19. + fmt.Printf("trezors[%d]=%#v\n", i, v)
  20. + }
  21. os.Exit(exitcodes.TrezorError)
  22. }
Add Comment
Please, Sign In to add comment