Skip to content

Commit

Permalink
remove un-necessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
leejw51crypto committed Mar 31, 2021
1 parent 997bc31 commit 81878a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsecret.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 81878a1

Please sign in to comment.