diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-27 07:11:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 07:11:55 +0000 |
commit | 9fbf2a40f19e1aea97e46e6e7c7992996f8ca827 (patch) | |
tree | 1e23ec6ffd472c1fa071848cbd467012dec53eaf /vendor/github.com/godbus/dbus/v5/message.go | |
parent | ed3aa2acaf6a69937444286369c98b59c77803d5 (diff) | |
parent | 55397de93510a697f917edc31d74e55dc88ea520 (diff) | |
download | podman-9fbf2a40f19e1aea97e46e6e7c7992996f8ca827.tar.gz podman-9fbf2a40f19e1aea97e46e6e7c7992996f8ca827.tar.bz2 podman-9fbf2a40f19e1aea97e46e6e7c7992996f8ca827.zip |
Merge pull request #12107 from giuseppe/fix-dbus-process-leak
cgroups: use SessionBusPrivateNoAutoStartup
Diffstat (limited to 'vendor/github.com/godbus/dbus/v5/message.go')
-rw-r--r-- | vendor/github.com/godbus/dbus/v5/message.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/godbus/dbus/v5/message.go b/vendor/github.com/godbus/dbus/v5/message.go index dd86aff4f..16693eb30 100644 --- a/vendor/github.com/godbus/dbus/v5/message.go +++ b/vendor/github.com/godbus/dbus/v5/message.go @@ -279,8 +279,8 @@ func (msg *Message) EncodeToWithFDs(out io.Writer, order binary.ByteOrder) (fds // be either binary.LittleEndian or binary.BigEndian. If the message is not // valid or an error occurs when writing, an error is returned. func (msg *Message) EncodeTo(out io.Writer, order binary.ByteOrder) (err error) { - _, err = msg.EncodeToWithFDs(out, order); - return err; + _, err = msg.EncodeToWithFDs(out, order) + return err } // IsValid checks whether msg is a valid message and returns an |