minimize diff

This commit is contained in:
Gary Belvin 2021-06-15 18:19:42 +01:00
parent c6bb7aa199
commit 1fb4406801

View file

@ -119,7 +119,7 @@ func main() {
fatal(err)
}
if c.Pin == "" && u.Get("pin-value") == "" && u.Get("pin-source") == "" {
if u.Get("pin-value") == "" && u.Get("pin-source") == "" && c.Pin == "" {
pin, err := ui.PromptPassword("What is the PKCS#11 PIN?")
if err != nil {
fatal(err)