summaryrefslogtreecommitdiff
path: root/vendor/github.com/godbus/dbus/v5/auth.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-10-26 21:05:22 +0200
committerMatthew Heon <matthew.heon@pm.me>2021-11-12 11:08:25 -0500
commit9707ff5d49b46deafc32fcfb1ca9fc3c8575c693 (patch)
tree739b2ee637162ebc402f44afa32f1dd131d120b4 /vendor/github.com/godbus/dbus/v5/auth.go
parenta67bf0f9213e38e74681134a9265c88121960808 (diff)
downloadpodman-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.go2
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)