fix(aa): ineffective assignment
This commit is contained in:
parent
ff5ff965cd
commit
228d3b653c
12 changed files with 39 additions and 20 deletions
|
|
@ -120,7 +120,8 @@ func (r *Dbus) Merge(other Rule) bool {
|
|||
r.Interface == o.Interface && r.Member == o.Member &&
|
||||
r.PeerName == o.PeerName && r.PeerLabel == o.PeerLabel {
|
||||
r.Access = merge(r.Kind(), "access", r.Access, o.Access)
|
||||
return r.RuleBase.merge(o.RuleBase)
|
||||
b := &r.RuleBase
|
||||
return b.merge(o.RuleBase)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue