system/dbus: fix inverted system bus state
Debug message and socket cleanup gets missed due to this value being inverted. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
2fdbd6a4dd
commit
1f173a469c
@ -36,7 +36,7 @@ func (sys *I) ProxyDBus(session, system *dbus.Config, sessionPath, systemPath st
|
||||
}
|
||||
|
||||
// system bus is optional
|
||||
d.system = system == nil
|
||||
d.system = system != nil
|
||||
|
||||
// upstream address, downstream socket path
|
||||
var sessionBus, systemBus [2]string
|
||||
|
Loading…
Reference in New Issue
Block a user