aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/share.dbus.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/share.dbus.go')
-rw-r--r--internal/app/share.dbus.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/app/share.dbus.go b/internal/app/share.dbus.go
index a96b1de5..c80bbb92 100644
--- a/internal/app/share.dbus.go
+++ b/internal/app/share.dbus.go
@@ -22,8 +22,10 @@ func (seal *appSeal) shareDBus(config [2]*dbus.Config) error {
sessionPath, systemPath := path.Join(seal.share, "bus"), path.Join(seal.share, "system_bus_socket")
// configure dbus proxy
- if err := seal.sys.ProxyDBus(config[0], config[1], sessionPath, systemPath); err != nil {
+ if f, err := seal.sys.ProxyDBus(config[0], config[1], sessionPath, systemPath); err != nil {
return err
+ } else {
+ seal.dbusMsg = f
}
// share proxy sockets