summaryrefslogtreecommitdiff
path: root/pkg/systemd/dbus.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/systemd/dbus.go')
-rw-r--r--pkg/systemd/dbus.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/systemd/dbus.go b/pkg/systemd/dbus.go
index 1b1bc8be9..44feb8308 100644
--- a/pkg/systemd/dbus.go
+++ b/pkg/systemd/dbus.go
@@ -24,7 +24,6 @@ func IsSystemdSessionValid(uid int) bool {
if rootless.IsRootless() {
conn, err = GetLogindConnection(rootless.GetRootlessUID())
- object = conn.Object(dbusDest, godbus.ObjectPath(dbusPath))
if err != nil {
//unable to fetch systemd object for logind
logrus.Debugf("systemd-logind: %s", err)