diff options
Diffstat (limited to 'dbus/dbus-transport-unix.c')
-rw-r--r-- | dbus/dbus-transport-unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-transport-unix.c b/dbus/dbus-transport-unix.c index ef50863d..84703345 100644 --- a/dbus/dbus-transport-unix.c +++ b/dbus/dbus-transport-unix.c @@ -1102,6 +1102,8 @@ _dbus_transport_new_for_domain_socket (const char *path, if (fd < 0) return NULL; + _dbus_fd_set_close_on_exec (fd); + _dbus_verbose ("Successfully connected to unix socket %s\n", path); |