diff --git a/libsecret.go b/libsecret.go index 3cb5b54..1c796a6 100644 --- a/libsecret.go +++ b/libsecret.go @@ -97,7 +97,7 @@ func (k *secretsKeyring) openSecrets() error { path := libsecret.DBusPath + "/collection/" + k.name for _, collection := range collections { - if decodeKeyringString(string(collection.Path())) == path || string(collection.Path()) == path { + if decodeKeyringString(string(collection.Path())) == path { k.collection = &collection return nil }