From fd14a1675469662ea35a49adf7162561c1e0c23c Mon Sep 17 00:00:00 2001 From: Joshua Rich Date: Sat, 2 Dec 2023 15:17:53 +1000 Subject: [PATCH] fix(linux): clean up users D-Bus watch --- internal/linux/usersSensor.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/linux/usersSensor.go b/internal/linux/usersSensor.go index e26ae71f0..0088b40c4 100644 --- a/internal/linux/usersSensor.go +++ b/internal/linux/usersSensor.go @@ -56,12 +56,10 @@ func UsersUpdater(ctx context.Context, tracker device.SensorTracker) { updateUsers() err := dbushelpers.NewBusRequest(ctx, dbushelpers.SystemBus). - Path(login1DBusPath). Match([]dbus.MatchOption{ dbus.WithMatchObjectPath(login1DBusPath), dbus.WithMatchInterface("org.freedesktop.DBus.Properties"), }). - Event("org.freedesktop.DBus.Properties.PropertiesChanged"). Handler(func(s *dbus.Signal) { switch s.Name { case "org.freedesktop.login1.Manager.SessionNew",