diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-10-26 21:05:22 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-11-12 11:08:25 -0500 |
commit | 9707ff5d49b46deafc32fcfb1ca9fc3c8575c693 (patch) | |
tree | 739b2ee637162ebc402f44afa32f1dd131d120b4 /vendor/github.com/godbus/dbus/v5/auth.go | |
parent | a67bf0f9213e38e74681134a9265c88121960808 (diff) | |
download | podman-9707ff5d49b46deafc32fcfb1ca9fc3c8575c693.tar.gz podman-9707ff5d49b46deafc32fcfb1ca9fc3c8575c693.tar.bz2 podman-9707ff5d49b46deafc32fcfb1ca9fc3c8575c693.zip |
vendor: update godbus to v5.0.6
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'vendor/github.com/godbus/dbus/v5/auth.go')
-rw-r--r-- | vendor/github.com/godbus/dbus/v5/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |