From 9707ff5d49b46deafc32fcfb1ca9fc3c8575c693 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 26 Oct 2021 21:05:22 +0200 Subject: vendor: update godbus to v5.0.6 Signed-off-by: Giuseppe Scrivano --- vendor/github.com/godbus/dbus/v5/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/godbus/dbus/v5/auth.go') diff --git a/vendor/github.com/godbus/dbus/v5/auth.go b/vendor/github.com/godbus/dbus/v5/auth.go index eb0b2f434..a59b4c0eb 100644 --- a/vendor/github.com/godbus/dbus/v5/auth.go +++ b/vendor/github.com/godbus/dbus/v5/auth.go @@ -53,7 +53,7 @@ type Auth interface { // bus. Auth must not be called on shared connections. func (conn *Conn) Auth(methods []Auth) error { if methods == nil { - uid := strconv.Itoa(os.Getuid()) + uid := strconv.Itoa(os.Geteuid()) methods = []Auth{AuthExternal(uid), AuthCookieSha1(uid, getHomeDir())} } in := bufio.NewReader(conn.transport) -- cgit v1.2.3-54-g00ecf