aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/godbus/dbus/transport_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/godbus/dbus/transport_unix.go')
-rw-r--r--vendor/github.com/godbus/dbus/transport_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/godbus/dbus/transport_unix.go b/vendor/github.com/godbus/dbus/transport_unix.go
index f000c6b5d..c7cd02f97 100644
--- a/vendor/github.com/godbus/dbus/transport_unix.go
+++ b/vendor/github.com/godbus/dbus/transport_unix.go
@@ -203,7 +203,7 @@ func (t *unixTransport) SendMessage(msg *Message) error {
}
} else {
if err := msg.EncodeTo(t, nativeEndian); err != nil {
- return nil
+ return err
}
}
return nil